about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-11-29T13·38+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-11-29T13·38+0000
commit4d0407ba087f8bc3a21865309291996084fd80eb (patch)
tree26388622dd82166427c22d009ed9c7e8b9a03be4
parent1749a7b0ae943f6a208ffc3fd0f6e9506872c5b6 (diff)
* Fix make check.
-rw-r--r--perl/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 93f5415c8bb6..ccb08b447b1f 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -4,8 +4,10 @@ perllibdir = $(libdir)/perl5/site_perl/$(perlversion)/$(perlarchname)
 
 PERL_MODULES = lib/Nix/Store.pm lib/Nix/Manifest.pm lib/Nix/GeneratePatches.pm lib/Nix/SSH.pm lib/Nix/CopyClosure.pm lib/Nix/Config.pm.in
 
+# Hack required by "make check".
 all: $(PERL_MODULES:.in=)
-	ln -sfn $(abs_builddir)/.libs/libNixStore.so lib/Store.so
+	mkdir -p lib/auto/Nix/Store
+	ln -sfn $(abs_builddir)/.libs/libNixStore.so lib/auto/Nix/Store/Store.so
 
 install-exec-local: $(PERL_MODULES:.in=)
 	$(INSTALL) -d $(DESTDIR)$(perllibdir)/Nix