summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-03-08 14:19:21 +0100
committerUlf Hermann <[email protected]>2017-05-02 10:00:35 +0000
commitdb3bc16f44006953a0a835f63430dad6f211f381 (patch)
tree96a4fcd1c1d7c194ebcc1b4deec405a07faf8a9c /config
parent03a0d9e4e4eaacebbe4abfcb5b196b56b168a3fd (diff)
Generate .lib files on PE platforms
MSVC needs them to link against .dll files. Change-Id: Iaf15391d28e0cd3292903dda2cd74b8b99a94274 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/eu.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/eu.am b/config/eu.am
index e692341e..637a2c27 100644
--- a/config/eu.am
+++ b/config/eu.am
@@ -113,5 +113,10 @@ else
textrel_check =
endif
+if NATIVE_PE
+%.lib: %.def
+ lib /machine:i386 /def:$<
+endif
+
print-%:
@echo $*=$($*)