• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


Commit MetaInfo

修訂2dd5dbbec8fd0de0abab6cb3fe1508aee9195b51 (tree)
時間2018-12-23 08:20:49
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Correct an optional DLL installation and packaging defect.

Change Summary

差異

--- a/mingwrt/ChangeLog
+++ b/mingwrt/ChangeLog
@@ -1,5 +1,14 @@
11 2018-12-22 Keith Marshall <keith@users.osdn.me>
22
3+ Correct an optional DLL installation and packaging defect.
4+
5+ * Makefile.in (optional_dll): New function macro; define it, and...
6+ (MAP_LIBMINGWEX_A_DLLVERSION): ...wrap this, replacing all usage of...
7+ (optional_dll_version, optional_dll_package): ...these; delete them,
8+ together with all dependent references.
9+
10+2018-12-22 Keith Marshall <keith@users.osdn.me>
11+
312 Update ANSI stdio feature test to accommodate ISO-C11.
413
514 * include/_mingw.h.in (__USE_MINGW_ANSI_STDIO): Add a deprecation
--- a/mingwrt/Makefile.in
+++ b/mingwrt/Makefile.in
@@ -656,11 +656,17 @@ libgmon.a: $(addsuffix .$(OBJEXT), gmon mcount profil)
656656 #
657657 DLLVERSION = "0:0:0"
658658
659+# DLLVERSION must be specified for each DLL file itself, and also for
660+# the associated installation and distribution rules; the appropriate
661+# dependencies may be specified by use of this function macro:
662+#
663+optional_dll = mingwrt-$1-optdist install-$1-optional-dll $2
664+
659665 # Generally, we should prefer to have explicit version specifications,
660666 # relating individually to each DLL; these are specified in VERSION.m4,
661667 # and propagated here via configure time substitution.
662668 #
663-@MAP_LIBMINGWEX_A_DLLVERSION@
669+$(call optional_dll,libmingwex,@MAP_LIBMINGWEX_A_DLLVERSION@)
664670
665671 # For convenience, we implement the DLL build rule in the form of a
666672 # generic pattern rule, invoked in the form of a request to build any
@@ -813,9 +819,6 @@ install-%-dll-files:
813819 $(call INSTALL_DATA,$^,${bindir})
814820 $(if $(STRIP_DLL),$(call STRIP_DLL,$^))
815821
816-$(call optional_dll_version,libmingwex,@MAP_LIBMINGWEX_A_DLLVERSION@)
817-optional_dll_version = $(shell echo '$2' | sed s,^[^:]*,install-$1-optional-dll,)
818-
819822 install-optional-dlls: install-mingwrt-optional-dlls
820823 install-mingwrt-optional-dlls: install-libmingwex-optional-dll
821824 install-%-optional-dll: %.dll.a bindir libdir
@@ -931,9 +934,6 @@ mingwrt-mandist: %-mandist:
931934 optdist: mingwrt-optdist
932935 mingwrt-optdist: mingwrt-libmingwex-optdist
933936
934-$(call optional_dll_package,libmingwex,@MAP_LIBMINGWEX_A_DLLVERSION@)
935-optional_dll_package = $(shell echo '$2' | sed s,^[^:]*,mingwrt-$1-optdist)
936-
937937 mingwrt-%-optdist:
938938 $(RM) -r tmp
939939 $(MAKE) --no-print-directory prefix=`pwd`/tmp install-strip-$*-optional-dll