summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-27 03:40:20 +0200
committerDan McGee <dan@archlinux.org>2007-10-27 03:40:20 +0200
commit3e1b72f4f2b3f8766f9ad3493ad736d81263c9c1 (patch)
treea8c7318a13c26f350b1d0ae13b2817556b9f8903 /src
parenta8731ff2f7be564b745a4447df9c2157c5ee0777 (diff)
downloadpacman-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>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/Makefile.am6
1 files changed, 2 insertions, 4 deletions
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: