Martin Pitt wrote: > Any idea how I can avoid this superfluous linking? I did
diff -u postgresql-8.1-8.1.3/debian/rules postgresql-8.1-8.1.3/debian/rules --- postgresql-8.1-8.1.3/debian/rules +++ postgresql-8.1-8.1.3/debian/rules @@ -7,7 +7,7 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk -CFLAGS+=-Wl,--as-needed +LDFLAGS+=-Wl,--as-needed DEB_DH_INSTALL_SOURCEDIR=debian/tmp DEB_CONFIGURE_EXTRA_FLAGS := --mandir=\$${prefix}/share/postgresql/8.1/man \ @@ -31,7 +31,8 @@ --with-tkconfig=/usr/lib/tk$(TCL_VER) \ --with-includes=/usr/include/tcl$(TCL_VER) \ --with-pgport=5432 \ - $(ARCH_OPTS) + $(ARCH_OPTS) \ + LDFLAGS='$(LDFLAGS)' DEB_DH_MAKESHLIBS_ARGS := -Xusr/lib/postgresql/8.1 DEB_DH_INSTALLCHANGELOGS_ARGS := build-tree/postgresql-*/HISTORY and it came out exactly as one would wish. Perhaps you forgot to pass the flags to configure explicitly? cdbs doesn't do that currently. (Something to take care of, perhaps. :) ) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]