From c5d9ccd810e3d4c791a912767c4463f4bb44d52e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 11 Jan 2012 16:44:42 +0000 Subject: perl: Build libNixStore.la with `-module'. --- perl/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl') diff --git a/perl/Makefile.am b/perl/Makefile.am index 4d898c32c668..ee220d65418e 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 \ -- cgit 1.4.1