summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJürgen Hötzel <juergen@archlinux.org>2007-01-29 22:18:31 +0000
committerJürgen Hötzel <juergen@archlinux.org>2007-01-29 22:18:31 +0000
commit13f9fc4d19661b75c6f9989082aaf2b222547fe7 (patch)
tree424414095c1220fd27a19ff611673bd97e19594c /src
parent1629355ef06c16c422fe959affde83552c96b5ae (diff)
* Fix building outside $(srcdir).
* Removed ./gen-mirrorlist.sh invocation from configure script: Mirror-files are generated by make, not configure.
Diffstat (limited to 'src')
-rw-r--r--src/pacman/Makefile.am4
-rw-r--r--src/util/Makefile.am2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am
index 02748628..8e611327 100644
--- a/src/pacman/Makefile.am
+++ b/src/pacman/Makefile.am
@@ -16,10 +16,10 @@ pacman_SOURCES = util.c log.c package.c downloadprog.c trans.c add.c \
pacman_static_SOURCES = $(pacman_SOURCES)
-pacman_LDADD = -L$(top_srcdir)/lib/libalpm/.libs \
+pacman_LDADD = -L$(top_builddir)/lib/libalpm/.libs \
-ldownload -lalpm
-pacman_static_LDADD = -L$(top_srcdir)/lib/libalpm/.libs/ \
+pacman_static_LDADD = -L$(top_builddir)/lib/libalpm/.libs/ \
-ldownload -lalpm
pacman_static_LDFLAGS = $(LDFLAGS) -all-static
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 553c3c09..361a742f 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -4,4 +4,4 @@ AM_CFLAGS = -I$(top_srcdir)/lib/libalpm
vercmp_SOURCES = vercmp.c
-vercmp_LDADD = $(top_srcdir)/lib/libalpm/libalpm.la
+vercmp_LDADD = $(top_builddir)/lib/libalpm/libalpm.la