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

List:       kde-buildsystem
Subject:    RPATH problems in kdelibs
From:       neundorf () kde ! org (Alexander Neundorf)
Date:       2006-11-26 23:17:39
Message-ID: 200611270017.40650.neundorf () kde ! org
[Download RAW message or body]

Hi Thiago, 

On Sunday 26 November 2006 23:02, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >That's actually one of the reasons why I didn't add the RPATH to the
> >libraries.
>
> Regardless of whether you added or not, they had RPATH (as my examples
> showed). They were Qt's library dir, plus /usr/local/lib and /lib (but
> not /usr/lib). Can you care to guess where those paths came from?

Yes, I can care to guess.
Btw. if you search for "RPATH" in FindKDE4Internal.cmake and KDE4Macros.cmake 
you will find everything related to RPATH handling for KDE. So it's not that 
hard to find out. It's even completely commented.

> By the way, I've also found this weird code in FindKDE4Internal.cmake:
> # also use /usr/local by default under UNIX, including Mac OS X
> if (UNIX)
>    link_directories(/usr/local/lib)
>    set( _KDE4_PLATFORM_INCLUDE_DIRS /usr/local/include )
>
> Why is that being added?

What is so weird about /usr/local/ ?
It's is from when I started with cmake for KDE, I think it can be removed now, 
but actually it also doesn't hurt, at least nobody complained until now.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net

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

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