aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEugene Sandulenko2004-04-25 19:33:46 +0000
committerEugene Sandulenko2004-04-25 19:33:46 +0000
commitc5c1a83d3528332134e3215327901be86e24aa24 (patch)
treef33082692d508f278cd4cecab1256421666990db /configure
parent43979c90122e2baaf365046d232b8d4b5245d8c4 (diff)
downloadscummvm-rg350-c5c1a83d3528332134e3215327901be86e24aa24.tar.gz
scummvm-rg350-c5c1a83d3528332134e3215327901be86e24aa24.tar.bz2
scummvm-rg350-c5c1a83d3528332134e3215327901be86e24aa24.zip
Add FreeBSD plugins building
svn-id: r13630
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index d787d8ac87..7602b4dec2 100755
--- a/configure
+++ b/configure
@@ -683,6 +683,16 @@ POST_OBJS_FLAGS := -Wl,-no-whole-archive
LIBS += -ldl
'
;;
+ freebsd*)
+_mak_plugins='
+BUILD_PLUGINS := 1
+CXXFLAGS += -DDYNAMIC_MODULES
+CXXFLAGS += -fpic
+PLUGIN_LDFLAGS += -shared
+PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
+POST_OBJS_FLAGS := -Wl,-no-whole-archive
+'
+ ;;
darwin*)
_mak_plugins='
BUILD_PLUGINS := 1