diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-01-11T16·44+0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-01-11T16·44+0000 |
commit | c5d9ccd810e3d4c791a912767c4463f4bb44d52e (patch) | |
tree | fab9ef83f0698382f54ad513beaf74e1d307e505 | |
parent | f86fca9b708ea98be0d508db90ec25d537fba246 (diff) |
perl: Build libNixStore.la with `-module'.
-rw-r--r-- | perl/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |