Force sample plugin libs to always be built as a shared library. r=colin@theblakes.com

git-svn-id: svn://10.0.0.236/trunk@111289 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com 2002-01-03 05:32:49 +00:00
parent b4df3e5556
commit 1ab8c545d5
2 changed files with 10 additions and 5 deletions

View File

@ -39,12 +39,11 @@ CSRCS = \
DEFINES += -D_IMPL_NS_PLUGIN
#CFLAGS += `gtk-config --cflags`
#
#LIBS = \
# `gtk-config --libs`\
# $(NULL)
# 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

View File

@ -44,6 +44,12 @@ CPPSRCS = \
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
CXXFLAGS += -GX