diff options
author | Dan McGee <dan@archlinux.org> | 2007-10-27 03:40:20 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-27 03:40:20 +0200 |
commit | 3e1b72f4f2b3f8766f9ad3493ad736d81263c9c1 (patch) | |
tree | a8c7318a13c26f350b1d0ae13b2817556b9f8903 | |
parent | a8731ff2f7be564b745a4447df9c2157c5ee0777 (diff) | |
download | pacman-3e1b72f4f2b3f8766f9ad3493ad736d81263c9c1.tar.gz pacman-3e1b72f4f2b3f8766f9ad3493ad736d81263c9c1.tar.xz |
Clean up LDADD usage
We had a lot of unnecessary overstatements of libraries to include on
linking, and autoconf/automake takes care of this for us. This also helps
some compilation issues on other platforms.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | lib/libalpm/Makefile.am | 1 | ||||
-rw-r--r-- | src/pacman/Makefile.am | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am index 49ce14c6..e42a0bd0 100644 --- a/lib/libalpm/Makefile.am +++ b/lib/libalpm/Makefile.am @@ -34,6 +34,5 @@ libalpm_la_SOURCES = \ util.h util.c libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) -libalpm_la_LIBADD = -larchive -ldownload # vim:set ts=2 sw=2 noet: diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am index 939ff197..4fe8b4fd 100644 --- a/src/pacman/Makefile.am +++ b/src/pacman/Makefile.am @@ -27,12 +27,10 @@ pacman_SOURCES = \ callback.h callback.c \ util.h util.c -pacman_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la \ - -ldownload -lm +pacman_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la pacman_static_SOURCES = $(pacman_SOURCES) pacman_static_LDFLAGS = $(LDFLAGS) -all-static -pacman_static_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la \ - -ldownload -lm +pacman_static_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la # vim:set ts=2 sw=2 noet: |