Package: xplc Version: 0.3.13-3 Severity: wishlist Tags: patch upstream Hi,
attached is a patch that makes xplc build if --as-needed is used as a linker flag. I've forwarded the patch to upstream as <https://sourceforge.net/tracker/?func=detail&aid=3135553&group_id=1814&atid=301814>. Please see there for a better description. Cheers, Stefan. -- System Information: Debian Release: squeeze/sid APT prefers natty-updates APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-7-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- xplc-0.3.13.orig/config/rules.mk +++ xplc-0.3.13/config/rules.mk @@ -44,7 +44,7 @@ $(RANLIB) $@ %.so: - $(LINK.cc) $(SHARED) $^ -o $@ + $(LINK.cc) $(SHARED) $^ -o $@ $($*_LDADD) %.dll: $(LINK.cc) $(SHARED) $^ -o $@ --- xplc-0.3.13.orig/xplc/vars.mk +++ xplc-0.3.13/xplc/vars.mk @@ -32,7 +32,7 @@ ifneq ("$(enable_loader)", "no") ifneq ("$(with_dlopen)", "no") -libxplc.so: LDFLAGS+=$(with_dlopen) +libxplc_LDADD=$(with_dlopen) endif endif