summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-19 19:38:57 -0500
committermidipix <writeonce@midipix.org>2017-11-19 19:38:57 -0500
commitaee3a687ec517c4a668c2442740a2544beac1a9b (patch)
treec46ee03d73551cd8f490f902bfe9b35f36bf9251
parenta945535fb794821ed00effb1fa25c445502c16f6 (diff)
downloadw32lib-aee3a687ec517c4a668c2442740a2544beac1a9b.tar.bz2
w32lib-aee3a687ec517c4a668c2442740a2544beac1a9b.tar.xz
project: mdso-based import libraries: set --libpath to OS syslib directories.
-rw-r--r--project/w32lib/w32lib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/w32lib/w32lib.mk b/project/w32lib/w32lib.mk
index e7fb4c9..e79d823 100644
--- a/project/w32lib/w32lib.mk
+++ b/project/w32lib/w32lib.mk
@@ -2,10 +2,10 @@ W32LIB += $(W32DLL:%.dll=lib/lib%.a)
W32LIB += $(W32DRV:%.drv=lib/lib%.a)
lib/lib%.a: $(SOURCE_DIR)/def/%.def $(SOURCE_DIR)/fake/%.dll host.tag tree.tag
- $(MDSO) -n $*.dll -i $@ $(SOURCE_DIR)/def/$*.def
+ $(MDSO) -n $*.dll -i $@ --libpath=system32 $(SOURCE_DIR)/def/$*.def
lib/lib%.a: $(SOURCE_DIR)/def/%.def $(SOURCE_DIR)/fake/%.drv host.tag tree.tag
- $(MDSO) -n $*.drv -i $@ $(SOURCE_DIR)/def/$*.def
+ $(MDSO) -n $*.drv -i $@ --libpath=system32 $(SOURCE_DIR)/def/$*.def
w32lib: $(W32LIB)