On Wed, Jul 6, 2011 at 7:34 AM, Richard Shaw <[email protected]> wrote:
> 5. Fedora doesn't allow hard coded paths for libraries (except for
> internal libraries). Is there an option to stop this behavior? See:
>
> http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
>
> I tried the builtin cmake option "CMAKE_SKIP_RPATH" but it didn't seem
> to help...

I tried to reproduce this but couldn't (that is, readelf -d  reports no rpaths
generated).  Here's what I did:

cd $OIIO_DIR
mkdir build
cd build
cmake ../src/ -DCMAKE_SKIP_RPATH:BOOL=TRUE -DCMAKE_INSTALL_PREFIX:STRING=/usr
make
make DESTDIR=output install
readelf -d output/usr/bin/* | grep RPATH

~Chris
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to