зеркало из https://github.com/mozilla/gecko-dev.git
Force sample plugin libs to always be built as a shared library. r=colin@theblakes.com
This commit is contained in:
Родитель
bec4516156
Коммит
4801e1d18f
|
@ -39,12 +39,11 @@ CSRCS = \
|
||||||
|
|
||||||
DEFINES += -D_IMPL_NS_PLUGIN
|
DEFINES += -D_IMPL_NS_PLUGIN
|
||||||
|
|
||||||
#CFLAGS += `gtk-config --cflags`
|
# plugins should always be shared, even in the "static" build
|
||||||
#
|
FORCE_SHARED_LIB = 1
|
||||||
#LIBS = \
|
|
||||||
# `gtk-config --libs`\
|
|
||||||
# $(NULL)
|
|
||||||
|
|
||||||
|
# Force use of PIC
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,12 @@ CPPSRCS = \
|
||||||
|
|
||||||
DEFINES += -D_IMPL_NS_PLUGIN -DWIN32_LEAN_AND_MEAN
|
DEFINES += -D_IMPL_NS_PLUGIN -DWIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
|
# plugins should always be shared, even in the "static" build
|
||||||
|
FORCE_SHARED_LIB = 1
|
||||||
|
|
||||||
|
# Force use of PIC
|
||||||
|
FORCE_USE_PIC = 1
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
CXXFLAGS += -GX
|
CXXFLAGS += -GX
|
||||||
|
|
Загрузка…
Ссылка в новой задаче