diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-02-01 02:23:50 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-02-01 02:23:50 +0100 |
commit | 8087d70c4ee47b426a56177ef6b50d92e2e58998 (patch) | |
tree | 8d16b7a5e0da5de785862104dccfd26b4c23530c /templates/Makefile.template | |
parent | 9bbc23cb6204e77869d312aa9d1597fcbd5ae980 (diff) |
Ruby windows fix - LDLIBS always belongs last, for link order reasons.
Diffstat (limited to 'templates/Makefile.template')
-rw-r--r-- | templates/Makefile.template | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/Makefile.template b/templates/Makefile.template index 6f4db26f2b..3bab79b577 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -1495,7 +1495,7 @@ out_mingbase = '$(LIBDIR)/$(CONFIG)/' + lib.name + '$(SHARED_VERSION_' + lang_to_var[lib.language] + ')' out_libbase = '$(LIBDIR)/$(CONFIG)/lib' + lib.name + '$(SHARED_VERSION_' + lang_to_var[lib.language] + ')' - common = '$(LIB' + lib.name.upper() + '_OBJS) $(LDLIBS)' + common = '$(LIB' + lib.name.upper() + '_OBJS)' link_libs = '' lib_deps = ' $(ZLIB_DEP)' @@ -1545,6 +1545,8 @@ ldflags = '$(LDFLAGS)' if lib.get('LDFLAGS', None): ldflags += ' ' + lib['LDFLAGS'] + + common = common + ' $(LDLIBS)' %> % if lib.build == "all": |