mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-29 01:42:32 +01:00
Fix compilation with LDFLAGS=-Wl,--no-add-needed
If you link against a library A that itself links against a library B, it may or may not work to use symbols from library B in your executable; this is known as "indirect linking". GNU ld does indirect linking by default (but it can be disabled using --no-add-needed), but the new experimental GNU gold linker does not do this. It's an easy fix for us, as the tests are all already done in ./configure, we just need to tell the Makefile.ams to use the results. This should fix Debian bug #556677, if they ever start using this branch. [crmafra: Folded Andreas Metzler patch to update debian/changelog] Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
7374fe5984
commit
844bf1b4e3
@@ -54,5 +54,7 @@ WPrefs_LDADD = \
|
|||||||
$(top_builddir)/WINGs/libWINGs.la\
|
$(top_builddir)/WINGs/libWINGs.la\
|
||||||
$(top_builddir)/WINGs/libWUtil.la\
|
$(top_builddir)/WINGs/libWUtil.la\
|
||||||
$(top_builddir)/wrlib/libwraster.la \
|
$(top_builddir)/wrlib/libwraster.la \
|
||||||
|
@XLFLAGS@ @XLIBS@ \
|
||||||
@XFTLIBS@ \
|
@XFTLIBS@ \
|
||||||
|
@FCLIBS@ \
|
||||||
@INTLIBS@
|
@INTLIBS@
|
||||||
|
|||||||
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -42,6 +42,7 @@ wmaker (0.92.0+git-0) unstable; urgency=low
|
|||||||
+ wmsetbg crashing on big png images. (Fixed by git
|
+ wmsetbg crashing on big png images. (Fixed by git
|
||||||
2ccc8e4a79a3179454d82b9acc574135ea6369a4, switching from alloca to
|
2ccc8e4a79a3179454d82b9acc574135ea6369a4, switching from alloca to
|
||||||
calloc - wrlib/png.c) Closes: #148370
|
calloc - wrlib/png.c) Closes: #148370
|
||||||
|
+ Fix compilation with LDFLAGS=-Wl,--no-add-needed Closes: #556677
|
||||||
* Provide detached debugging symbols in wmaker-dbg package.
|
* Provide detached debugging symbols in wmaker-dbg package.
|
||||||
|
|
||||||
-- Andreas Metzler <ametzler@debian.org> Sat, 07 Aug 2010 10:56:00 +0200
|
-- Andreas Metzler <ametzler@debian.org> Sat, 07 Aug 2010 10:56:00 +0200
|
||||||
|
|||||||
@@ -120,4 +120,5 @@ wmaker_LDADD = \
|
|||||||
@XLFLAGS@ \
|
@XLFLAGS@ \
|
||||||
@XFTLIBS@ \
|
@XFTLIBS@ \
|
||||||
@XLIBS@ \
|
@XLIBS@ \
|
||||||
|
@LIBM@ \
|
||||||
@INTLIBS@
|
@INTLIBS@
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ wmagnify_LDADD = \
|
|||||||
$(top_builddir)/WINGs/libWINGs.la \
|
$(top_builddir)/WINGs/libWINGs.la \
|
||||||
$(top_builddir)/WINGs/libWUtil.la \
|
$(top_builddir)/WINGs/libWUtil.la \
|
||||||
$(top_builddir)/wrlib/libwraster.la \
|
$(top_builddir)/wrlib/libwraster.la \
|
||||||
@XFTLIBS@ @INTLIBS@
|
@XLFLAGS@ @XLIBS@ @XFTLIBS@ @INTLIBS@
|
||||||
|
|
||||||
wmsetbg_LDADD = \
|
wmsetbg_LDADD = \
|
||||||
$(top_builddir)/WINGs/libWINGs.la \
|
$(top_builddir)/WINGs/libWINGs.la \
|
||||||
|
|||||||
Reference in New Issue
Block a user