mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
a74fc6c1fb
This is necessary for plugins when building libxul for GTK+ 3 because libxul will link against GTK+ 3 and some plugins link against GTK+ 2, but both GTK+ libraries can't be loaded in the same process. With this change, we have an indirection between libxul and libgtk, named libmozgtk. plugin-container will be modified to load libmozgtk2 in order to only have GTK+ 2 in its address space, thus enabling various plugins (e.g. flash) on GTK+ 3 firefox.
17 lines
485 B
Python
17 lines
485 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# 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/.
|
|
|
|
SOURCES += [
|
|
'../mozgtk.c',
|
|
]
|
|
|
|
for var in ('COMMON_SYMBOLS', 'GTK2_SYMBOLS', 'GTK3_SYMBOLS'):
|
|
DEFINES[var] = True
|
|
|
|
LIBRARY_NAME = 'mozgtk_stub'
|
|
|
|
FORCE_SHARED_LIB = True
|