summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bindings/java/Makefile.in2
-rw-r--r--bindings/perl/Makefile.in2
-rw-r--r--bindings/python/Makefile.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/bindings/java/Makefile.in b/bindings/java/Makefile.in
index 4aed9345..a97f2889 100644
--- a/bindings/java/Makefile.in
+++ b/bindings/java/Makefile.in
@@ -6,7 +6,7 @@ CFLAGS += -fno-strict-aliasing # see the swig docs
ifeq ($(shell arch),x86_64)
CFLAGS += -fPIC
endif
-LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm
+LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm
all: libalpm_java.so alpm.jar
diff --git a/bindings/perl/Makefile.in b/bindings/perl/Makefile.in
index 9ebc2d5d..808c70ab 100644
--- a/bindings/perl/Makefile.in
+++ b/bindings/perl/Makefile.in
@@ -7,7 +7,7 @@ CFLAGS += -I$(top_srcdir)/lib/libalpm
ifeq ($(shell arch),x86_64)
CFLAGS += -fPIC
endif
-LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm
+LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm
LIBDIR += $(shell perl -V|grep site|sed 's/^ *//;s|/usr|$(prefix)|;q')
all: Core.so
diff --git a/bindings/python/Makefile.in b/bindings/python/Makefile.in
index fe2e84a6..abd7638a 100644
--- a/bindings/python/Makefile.in
+++ b/bindings/python/Makefile.in
@@ -7,7 +7,7 @@ CFLAGS += -I$(top_srcdir)/lib/libalpm
ifeq ($(shell arch),x86_64)
CFLAGS += -fPIC
endif
-LDFLAGS += -L$(top_srcdir)/lib/libalpm -lalpm
+LDFLAGS += -L$(top_srcdir)/lib/libalpm/.libs -lalpm
LIBDIR += $(shell python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'|sed 's|/usr|$(prefix)|')
all: _alpm.so alpm.pyc