mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
30 lines
805 B
Makefile
30 lines
805 B
Makefile
# 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/.
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32 shlwapi)
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
OS_LIBS += $(call EXPAND_LIBNAME,version)
|
|
endif
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
$(XPCOM_GLUE_LDOPTS) \
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
$(NULL)
|
|
|
|
# Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
|
|
# GTK2: Need to link with glib for GNOME shell service
|
|
ifneq (,$(filter cocoa gtk2 gtk3,$(MOZ_WIDGET_TOOLKIT)))
|
|
EXTRA_DSO_LDOPTS += \
|
|
$(TK_LIBS) \
|
|
$(NULL)
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
# Ensure that we don't embed a manifest referencing the CRT.
|
|
EMBED_MANIFEST_AT =
|