[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Broken RPATH/RUNPATH in kdepim/console/kabc2mutt
From:       David Faure <faure () kde ! org>
Date:       2009-04-10 13:09:28
Message-ID: 200904101509.28440.faure () kde ! org
[Download RAW message or body]

On Friday 10 April 2009, Andreas Pakulat wrote:
> Shouldn't this work: 
> 
> cmake -E create_symlink ${BIN_INSTALL_DIR}/kabcclient
> ${BIN_INSTALL_DIR}/kabc2mutt
> 
> Though I'm not sure how that expands when DESTDIR is used...
 
Doesn't that break the whole idea of "the code knowing under which name it's
called using argv[0]" ?

I have a similar case for kioexec/kde-cp/kde-mv (one source file
with 3 different modes), but I guess it's a bit different there: the behavior
change comes from ifdefs, not from argv[0]. Maybe that solution is
applicable to kabc2mutt.

-- 
David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic