On Thu, Mar 30, 2006 at 06:23:38PM +0200, Miriam Ruiz wrote: > DebHelper uses by default (in the pre-made templates) "-Wl,-z,defs" in CFLAGS > when running ./configure
> CFLAGS="-Wall -g -O2 -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) ... > I'm packaging a program (with some libraries in it) that won't compile with > them unless you explicitly modify Makefile.am files and add the libraries > (already included in the package but not installed in time of compilation), > which is not done by default. without those options it compiles and install > cleanly without problem with upstream's building system. > Is it important to keep them? Could someone possibly explain to me what they > mean? This is discussed in policy 10.2. If your libraries are failing to link when using -z,defs, that's a bug in those libraries; anything that references symbols from other libraries on the system needs to link against those libraries. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature