pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libtool using -rpath on Darwin


building graphics/jbigkit on MacOS X Tiger / Darwin 8 fails with

gmake[1]: Entering directory 
--mode=compile cc -O2 -mcpu=7450 -I../libjbig -o pbmtojbg.lo -c 
libtool: compile:  cc -O2 -mcpu=7450 -I../libjbig -c pbmtojbg.c  
-fno-common -DPIC -o .libs/pbmtojbg.o
libtool: compile:  cc -O2 -mcpu=7450 -I../libjbig -c pbmtojbg.c -o 
pbmtojbg.o >/dev/null 2>&1
/opt/local/obj/graphics/jbigkit/work/.cwrapper/bin/libtool  --mode=link 
cc -O2 -mcpu=7450 -L/opt/local/lib -o pbmtojbg pbmtojbg.lo 
../libjbig/ -R /opt/local/lib
libtool: link: cc -O2 -mcpu=7450 -o .libs/pbmtojbg .libs/pbmtojbg.o 
-Wl,-rpath -Wl,/opt/local/lib  
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: unknown flag: -rpath
collect2: ld returned 1 exit status
gmake[1]: *** [Makefile:21: pbmtojbg] Error 1
gmake[1]: Leaving directory 
gmake: *** [Makefile:21: pbm] Error 2
*** Error code 2

even though mk/platform/ tries to discourage sending GNU ld 
specific options to the system linker.

The jbigkit build system is heavily patched to use libtool on every 
corner. What does it miss on Darwin?


Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Grabengasse 57
64372 Ober-Ramstadt

Home | Main Index | Thread Index | Old Index