mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1000994 - Use SONAME to specify soname for libmozgtk & stubs. r=glandium
The current implementation of the solution outlined in bug 6244229 uses LDFLAGS in Makefile.in to specify the SONAME. This patch uses the new SONAME option in moz.build to do the same, and removes the LDFLAGS manipulation from Makefile.in.
This commit is contained in:
parent
c0ddfb3ebf
commit
6e0decbca1
@ -4,7 +4,6 @@
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LDFLAGS += -Wl,-soname=$(DLL_PREFIX)mozgtk$(DLL_SUFFIX)
|
||||
|
||||
# If LDFLAGS contains -Wl,--as-needed, we need to add -Wl,--no-as-needed
|
||||
# before the gtk libraries, otherwise the linker will drop those dependencies
|
||||
|
@ -12,4 +12,6 @@ DEFINES['GTK3_SYMBOLS'] = True
|
||||
|
||||
LIBRARY_NAME = 'mozgtk2'
|
||||
|
||||
SONAME = 'mozgtk'
|
||||
|
||||
FORCE_SHARED_LIB = True
|
||||
|
@ -12,4 +12,6 @@ DEFINES['GTK2_SYMBOLS'] = True
|
||||
|
||||
LIBRARY_NAME = 'mozgtk'
|
||||
|
||||
SONAME = 'mozgtk'
|
||||
|
||||
FORCE_SHARED_LIB = True
|
||||
|
@ -1,7 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LDFLAGS += -Wl,-soname=$(DLL_PREFIX)mozgtk$(DLL_SUFFIX)
|
@ -13,4 +13,6 @@ for var in ('COMMON_SYMBOLS', 'GTK2_SYMBOLS', 'GTK3_SYMBOLS'):
|
||||
|
||||
LIBRARY_NAME = 'mozgtk_stub'
|
||||
|
||||
SONAME = 'mozgtk'
|
||||
|
||||
FORCE_SHARED_LIB = True
|
||||
|
Loading…
Reference in New Issue
Block a user