GNOME Bugzilla – Bug 674561
incorrect use of LDFLAGS in examples makefile
Last modified: 2012-07-27 02:34:23 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)
To ssh://aleksey@git.gnome.org/git/xmlsec 0c1e420..4a76432 master -> master