On Wed, Mar 30, 2011 at 5:08 PM, kiorky <kio...@cryptelium.net> wrote: > You have rpath to record search paths for shared libraries at link time. > This enables you not to set LD_LIBRARY_PATH at runtime. > > Something like "cc -Wl,-rpath,/path/to/libdir -L/path/to/libdir -lfoo" is what > you want.
This fails once you want to relocate the built packages, but if you know what the installed location is going to be, can be incredibly helpful. -- Fred L. Drake, Jr. <fdrake at acm.org> "Give me the luxuries of life and I will willingly do without the necessities." --Frank Lloyd Wright _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig