summaryrefslogtreecommitdiff
path: root/mk/package.mk
diff options
context:
space:
mode:
authorwolfgang <unknown>2005-03-03 21:01:49 +0000
committerwolfgang <unknown>2005-03-03 21:01:49 +0000
commit524b54cec5d3c20edf65b46bf51fff6c839700ab (patch)
treef6ab48c0047be35655afd15c9e107241fcfddb3e /mk/package.mk
parent5b0e32406c30be1613fbf556685c77e840dff342 (diff)
downloadhaskell-524b54cec5d3c20edf65b46bf51fff6c839700ab.tar.gz
[project @ 2005-03-03 21:01:49 by wolfgang]
Install dynamic libraries even when they're not part of a package, but honor NO_INSTALL_LIBRARY instead. MERGE TO STABLE
Diffstat (limited to 'mk/package.mk')
-rw-r--r--mk/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/package.mk b/mk/package.mk
index 7397e63d51..d77eb33d7e 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# $Id: package.mk,v 1.48 2005/02/10 13:38:35 simonmar Exp $
+# $Id: package.mk,v 1.49 2005/03/03 21:01:49 wolfgang Exp $
ifneq "$(PACKAGE)" ""
@@ -327,7 +327,7 @@ $(DYLD_LIBRARY) : $(LIBOBJS) $(STUBOBJS)
$(CC) -shared -o $@ $(STUBOBJS) $(LIBOBJS)
endif
-ifneq "$(PACKAGE)" ""
+ifneq "$(NO_INSTALL_LIBRARY)" "YES"
INSTALL_LIBS += $(DYLD_LIBRARY)
endif