We were accidentally depending on the behaviour of GNU ld, which
treats 'needed' as transitive by default - Debian bug #556760
+videolink (1.2.10) UNRELEASED; urgency=low
+
+ * List all needed libraries to the linker. We were accidentally
+ depending on the behaviour of GNU ld, which treats 'needed' as
+ transitive by default - Debian bug #556760
+
+ -- Ben Hutchings <ben@decadent.org.uk> Wed, 18 Nov 2009 02:42:40 +0000
+
videolink (1.2.9) unstable; urgency=low
* Add support for XULRunner 1.9.1, requiring a version match down to
moz_pc := mozilla-gtkmozembed-embedding
moz_cppflags_extra := $(shell pkg-config --cflags xulrunner-nspr)
moz_unstable_cppflags_extra :=
- moz_ldflags_extra :=
+ # libxpcomglue needs libdl, but mozilla-gtkmozembed-embedding.pc
+ # doesn't mention it.
+ moz_ldflags_extra := -ldl
else
ifeq ($(shell pkg-config --exists xulrunner-gtkmozembed && echo yes),yes)
moz_name := xulrunner
CXXFLAGS := -ansi -Wall -Wunused
LDFLAGS := -lpthread \
$(shell pkg-config --libs gtkmm-2.4 $(moz_pc)) \
- $(moz_ldflags_extra) -lexpat
+ $(moz_ldflags_extra) -lexpat -lX11
ifdef NDEBUG
CPPFLAGS += -DNDEBUG