mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium
This commit is contained in:
parent
ed5104fd64
commit
319b400465
@ -54,6 +54,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
|
||||
JAR_MANIFEST \
|
||||
JAVA_JAR_TARGETS \
|
||||
JS_MODULES_PATH \
|
||||
LD_VERSION_SCRIPT \
|
||||
LIBRARY_NAME \
|
||||
MODULE \
|
||||
MSVC_ENABLE_PGO \
|
||||
|
@ -510,6 +510,10 @@ ifeq ($(OS_ARCH),Linux)
|
||||
ifdef IS_COMPONENT
|
||||
EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
||||
endif
|
||||
ifdef LD_VERSION_SCRIPT
|
||||
EXTRA_DSO_LDOPTS += -Wl,--version-script,$(LD_VERSION_SCRIPT)
|
||||
EXTRA_DEPS += $(LD_VERSION_SCRIPT)
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
|
@ -249,6 +249,7 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
'DEFFILE',
|
||||
'SDK_LIBRARY',
|
||||
'WIN32_EXE_LDFLAGS',
|
||||
'LD_VERSION_SCRIPT',
|
||||
]
|
||||
for v in varlist:
|
||||
if v in sandbox and sandbox[v]:
|
||||
|
@ -359,6 +359,12 @@ VARIABLES = {
|
||||
This variable can only be used on Windows.
|
||||
""", None),
|
||||
|
||||
'LD_VERSION_SCRIPT': (unicode, unicode,
|
||||
"""The linker version script for shared libraries.
|
||||
|
||||
This variable can only be used on Linux.
|
||||
""", None),
|
||||
|
||||
'RESOURCE_FILES': (HierarchicalStringListWithFlagsFactory({'preprocess': bool}), list,
|
||||
"""List of resources to be exported, and in which subdirectories.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user