Hi,

i am trying to set rpath to value '$ORIGIN:$ORIGIN/../lib:.:../lib' in a
makefile. but $ORIGIN is always getting replaced.

g++  -D__unix -D_REENTRANT -D_PTHREADS -DSTRING_CONVERSION -D_GNU_SOURCE
-DSTL_STRING_LENGTH_ORIG -DSGI_STL -D__STL -DSYNC_IS_PUBLIC -DNATIVE_64BIT
-DNDEBUG -w -fPIC -pipe   -o obj/release/sample.o -c sample.cpp
g++   -o ././libSampleSo.so -shared     -Wl,-Bsymbolic
-Wl,-rpath,':/../lib:.:../lib'  ./obj/release/sample.o    -ldl -lpthread
-lgcc

i tried all the tricks mentioned in
http://www.itee.uq.edu.au/~daniel/using_origin/ but nothing worked.

i have attached a zip file which contains the source and the make files.

please help.

Thanks,
mrc

Attachment: origin.tar.gz
Description: GNU Zip compressed data

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to