From c5d9ccd810e3d4c791a912767c4463f4bb44d52e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 11 Jan 2012 16:44:42 +0000 Subject: [PATCH] perl: Build libNixStore.la with `-module'. --- perl/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \