After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 674561 - incorrect use of LDFLAGS in examples makefile
incorrect use of LDFLAGS in examples makefile
Status: RESOLVED FIXED
Product: xmlsec
Classification: Other
Component: examples
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Aleksey Sanin
Aleksey Sanin
Depends on:
Blocks:
 
 
Reported: 2012-04-22 13:26 UTC by John Belmonte
Modified: 2012-07-27 02:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Belmonte 2012-04-22 13:26:06 UTC
Makefile should use LDLIBS rather than LDFLAGS for specifying libraries so that linker command line items can be ordered properly.

Original report (Ubuntu):  https://bugs.launchpad.net/ubuntu/+source/xmlsec1/+bug/884834


--- old/Makefile	2011-11-02 21:37:21.921330577 +0100
+++ new/Makefile	2011-11-02 21:37:08.605330608 +0100
@@ -11,7 +11,7 @@

 CC	= gcc
 CFLAGS	+= -g $(shell xmlsec1-config --cflags) -DUNIX_SOCKETS
-LDFLAGS	+= -g $(shell xmlsec1-config --libs)
+LDLIBS	+= -g $(shell xmlsec1-config --libs)

 all: $(PROGRAMS)
Comment 1 Aleksey Sanin 2012-07-27 02:34:23 UTC
To ssh://aleksey@git.gnome.org/git/xmlsec
   0c1e420..4a76432  master -> master