diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-10-12 10:09:11 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-10-12 10:13:02 +0200 |
commit | 034d8ebbf89528cb82ae6d15cf512b476080248e (patch) | |
tree | 1f32f1d4019bb5725b13dd28b17297e6c23c69c0 | |
parent | 6dbe7d134c5e849458ee76c99c460d5326e7dde1 (diff) | |
download | gcab-034d8ebbf89528cb82ae6d15cf512b476080248e.tar.gz |
build-sys: fix gcab linking on Debian-like
Debian uses a troublesome libtool patch that disables library
dependency (link_all_deplibs=no). The gcab binary fails to link
with missing glib symbols. Let's link to it then.
See also:
http://stackoverflow.com/questions/11802727/libtool-doesnt-provide-library-dependencies-to-link
Reported by Daniel Espinosa <esodan@gmail.com>
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 769fbf4..41a3c32 100644 --- a/Makefile.am +++ b/Makefile.am @@ -68,7 +68,10 @@ bin_PROGRAMS = gcab gcab_SOURCES = \ gcab.c \ $(NULL) -gcab_LDADD = libgcab-1.0.la +gcab_LDADD = \ + $(GLIB_LIBS) \ + libgcab-1.0.la \ + $(NULL) GCAB_ENUMS = \ libgcab/gcab-enums.c \ |