Quoting [EMAIL PROTECTED] 
([EMAIL PROTECTED]):
> I just tried to build an RPM for the (somewhat) current CVS of
> DirectFB -- 0.9.17.  I found however that when dfbg builds, it links
> with the currently installed libdirectfb rather than the one being
> built.  Here is the make install output for the tools directory:
> 
> Making install in tools
> make[1]: Entering directory `/usr/src/RPM/BUILD/DirectFB-0.9.17/tools'
> make[2]: Entering directory `/usr/src/RPM/BUILD/DirectFB-0.9.17/tools'
> /bin/sh ../mkinstalldirs /var/tmp/directfb-0.9.17/usr/bin
> mkdir -p -- /var/tmp/directfb-0.9.17/usr/bin
>   /bin/sh ../libtool --mode=install /usr/bin/install -c directfb-csource 
>/var/tmp/directfb-0.9.17/usr/bin/directfb-csource
> /usr/bin/install -c directfb-csource 
>/var/tmp/directfb-0.9.17/usr/bin/directfb-csource
>   /bin/sh ../libtool --mode=install /usr/bin/install -c dfbg 
>/var/tmp/directfb-0.9.17/usr/bin/dfbg
> (cd /usr/src/RPM/BUILD/DirectFB-0.9.17/tools; { test -z "${LIBRARY_PATH+set}" || 
>unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z 
>"${COMPILER_PATH+set}" || unset COMPILER_PATH || { COMPILER_PATH=; export 
>COMPILER_PATH; }; }; { test -z "${GCC_EXEC_PREFIX+set}" || unset GCC_EXEC_PREFIX || { 
>GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z "${LD_RUN_PATH+set}" || 
>unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z 
>"${LD_LIBRARY_PATH+set}" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export 
>LD_LIBRARY_PATH; }; }; 
>PATH="/home/brian/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin"; export PATH; 
>i586-mandrake-linux-gnu-gcc -D_REENTRANT -O3 -fomit-frame-pointer -pipe 
>-mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -ffast-math -Wall -O3 
>-g -o /tmp/libtool-zcZclO/dfbg dfbg.o  -L/usr/lib -ldirectfb -ldl -lpthread)
> /usr/bin/install -c /tmp/libtool-zcZclO/dfbg /var/tmp/directfb-0.9.17/usr/bin/dfbg
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/usr/src/RPM/BUILD/DirectFB-0.9.17/tools'
> make[1]: Leaving directory `/usr/src/RPM/BUILD/DirectFB-0.9.17/tools'
> 
> Notice there is nothing directing the link to use the libdirectfb
> being built but rather what is available in the current library search
> path.

This is what the Makefile.am says:

dfbg_SOURCES = dfbg.c
dfbg_LDADD   = ../src/libdirectfb.la

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to