aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-01-11 16:44:42 +0000
committerLudovic Courtès <ludo@gnu.org>2012-01-11 16:44:42 +0000
commitc5d9ccd810e3d4c791a912767c4463f4bb44d52e (patch)
treefab9ef83f0698382f54ad513beaf74e1d307e505
parentf86fca9b708ea98be0d508db90ec25d537fba246 (diff)
perl: Build libNixStore.la with `-module'.
-rw-r--r--perl/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 4d898c32c..ee220d654 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -16,7 +16,8 @@ pkglib_LTLIBRARIES = libNixStore.la
libNixStore_la_SOURCES = lib/Nix/Store.cc
-libNixStore_la_LIBADD = $(top_srcdir)/src/libstore/libstore.la
+libNixStore_la_LIBADD = $(top_builddir)/src/libstore/libstore.la
+libNixStore_la_LDFLAGS = -module
AM_CXXFLAGS = \
-I$(top_srcdir)/src -I$(top_srcdir)/src/libutil -I$(top_srcdir)/src/libstore \