aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Mario Emmenlauer <mario@emmenlauer.de>2016-12-13 00:07:12 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-11 08:38:53 +0100
commit294dc2f003d8173108b7de645052d3cc3305d428 (patch)
tree55a021933ed6afe27e1b1dad6c932bc6b6942b86 /templates
parentd817c1b75bcdf21f8cae66f46b39dbb1f867dde9 (diff)
Makefile.template and Makefile: avoid def-files on MSYS2 / MINGW32 platform
Diffstat (limited to 'templates')
-rw-r--r--templates/Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template
index 109de33c31..55fbe530be 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -1546,7 +1546,7 @@
${out_mingbase}.$(SHARED_EXT_${lang_to_var[lib.language]}): $(LIB${lib.name.upper()}_OBJS) ${mingw_lib_deps}
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
- $(Q) ${ld} ${ldflags} -L$(LIBDIR)/$(CONFIG) -shared ${lib.name}.def -Wl,--output-def=${out_mingbase}.def -Wl,--out-implib=${out_libbase}-dll.a -o ${out_mingbase}.$(SHARED_EXT_${lang_to_var[lib.language]}) ${common}${mingw_libs}
+ $(Q) ${ld} ${ldflags} -L$(LIBDIR)/$(CONFIG) -shared -Wl,--output-def=${out_mingbase}.def -Wl,--out-implib=${out_libbase}-dll.a -o ${out_mingbase}.$(SHARED_EXT_${lang_to_var[lib.language]}) ${common}${mingw_libs}
else
${out_libbase}.$(SHARED_EXT_${lang_to_var[lib.language]}): $(LIB${lib.name.upper()}_OBJS) ${lib_deps}
$(E) "[LD] Linking $@"