apparently link.exe -dump is a short for dumpbin.exe
So use the latter, in case we'll want to use lld-link, as that one doesn't know -link. Change-Id: I35e05064da06741cae1aa267b455e22741fef090 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126157 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
@@ -296,8 +296,8 @@ $(call gb_Helper_abbreviate_dirs,\
|
||||
$(if $(filter Executable,$(TARGETTYPE)),&& mt.exe $(MTFLAGS) -nologo -manifest $(SRCDIR)/solenv/gbuild/platform/DeclareDPIAware.manifest -updateresource:$(1)\;1 ) \
|
||||
$(if $(filter Library,$(TARGETTYPE)),&& \
|
||||
echo $(notdir $(1)) > $(WORKDIR)/LinkTarget/$(2).exports.tmp && \
|
||||
$(gb_LINK) \
|
||||
-dump -exports $(ILIBTARGET) \
|
||||
$(gb_DUMPBIN) \
|
||||
-exports $(ILIBTARGET) \
|
||||
>> $(WORKDIR)/LinkTarget/$(2).exports.tmp && \
|
||||
$(call gb_Helper_replace_if_different_and_touch,$(WORKDIR)/LinkTarget/$(2).exports.tmp,$(WORKDIR)/LinkTarget/$(2).exports,$(1))) \
|
||||
; \
|
||||
|
@@ -26,6 +26,7 @@ include $(GBUILDDIR)/platform/windows.mk
|
||||
gb_CC := cl
|
||||
gb_CXX := cl
|
||||
gb_LINK := link
|
||||
gb_DUMPBIN := dumpbin
|
||||
gb_AWK := awk
|
||||
gb_CLASSPATHSEP := ;
|
||||
gb_RC := rc
|
||||
|
Reference in New Issue
Block a user