Review Request 113649: fix rpath handling

Rex Dieter rdieter at gmail.com
Tue Nov 5 17:02:52 GMT 2013



> On Nov. 5, 2013, 4:53 p.m., Alexander Neundorf wrote:
> > If LIB_INSTALL_DIR is a cache variable, i.e. if it can be set from the outside (I guess it can), you should test before whether it is an 
> > absolute path or not, and make it absolute if it isn't:
> > 
> > set(_abs_LIB_INSTALL_DIR "${LIB_INSTALL_DIR}")
> >   if (NOT IS_ABSOLUTE "${_abs_LIB_INSTALL_DIR}")
> >      set(_abs_LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")
> >   endif()
> >

someone just commented in #kde-devel that even CMAKE_INSTALL_PREFIX can be relative?  then what?  test that for absolute-ness too?


- Rex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113649/#review43084
-----------------------------------------------------------


On Nov. 5, 2013, 4:38 p.m., Rex Dieter wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113649/
> -----------------------------------------------------------
> 
> (Updated Nov. 5, 2013, 4:38 p.m.)
> 
> 
> Review request for Build System and Phonon.
> 
> 
> Repository: phonon
> 
> 
> Description
> -------
> 
> Prior to this patch, the cmake code queries/uses ${LIB_INSTALL_DIR} which is a relative path, so an unconditional (relative) rpath gets added.
> 
> 
> Diffs
> -----
> 
>   cmake/FindPhononInternal.cmake b48bfaf 
> 
> Diff: http://git.reviewboard.kde.org/r/113649/diff/
> 
> 
> Testing
> -------
> 
> build/install phonon-4.7.0 to system path on fedora 20 without rpath.
> 
> 
> Thanks,
> 
> Rex Dieter
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20131105/0493483f/attachment.htm>
-------------- next part --------------
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem at kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


More information about the kde-multimedia mailing list