Blaeh. LIBS doesn't provide DEPENDENCIES, hence we don't to use that,
authorMichael Matz <matz@suse.de>
Mon, 15 Oct 2007 02:55:00 +0000 (02:55 +0000)
committerMichael Matz <matz@suse.de>
Mon, 15 Oct 2007 02:55:00 +0000 (02:55 +0000)
but LDADD is overwritten (instead auf augmented) by specific X_LDADDS,
so we need to add LDADD everywhere explicitely.

tools/Makefile.am

index 7fb94e9..8caf7ba 100644 (file)
@@ -14,7 +14,7 @@ rpmdb2solv_SOURCES = \
        source_rpmdb.c  \
        source_write.c
 
-rpmdb2solv_LDADD = -ldb-4.3
+rpmdb2solv_LDADD = -ldb-4.3 $(LDADD)
 
 rpmmd2solv_SOURCES = \
        rpmmd2solv.c    \
@@ -22,7 +22,7 @@ rpmmd2solv_SOURCES = \
        source_rpmmd.c  \
        source_write.c
 
-rpmmd2solv_LDADD = -lexpat
+rpmmd2solv_LDADD = -lexpat $(LDADD)
 
 helix2solv_SOURCES = \
        helix2solv.c    \
@@ -30,7 +30,7 @@ helix2solv_SOURCES = \
        source_helix.c  \
        source_write.c
 
-helix2solv_LDADD = -lexpat
+helix2solv_LDADD = -lexpat $(LDADD)
 
 susetags2solv_SOURCES = \
        susetags2solv.c         \
@@ -44,7 +44,7 @@ patchxml2solv_SOURCES = \
        source_patchxml.c       \
        source_write.c
 
-patchxml2solv_LDADD = -lexpat
+patchxml2solv_LDADD = -lexpat $(LDADD)
 
 dumpsolv_SOURCES = \
        dumpsolv.c