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

Re: binary-or-shlib-defines-rpath

Joshua Haberman <joshua@haberman.com> wrote:
> How do you solve the binary-or-shlib-defines-rpath lintian warning?  In a
> package I am preparing, --rpath is passed to the linker via libtool:

> /bin/sh ../libtool --mode=link gcc    -o pgedit  pgedit.o -lpgui
> mkdir .libs
> gcc -o pgedit pgedit.o  /usr/local/lib/libpgui.so -Wl,--rpath
> -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib

> How do I fix this?  The expanded version of the warning says to ask here.

You'll find an example in lesstif1's debian directory (fixrpath).
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply to: