From c5c1a83d3528332134e3215327901be86e24aa24 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 25 Apr 2004 19:33:46 +0000 Subject: Add FreeBSD plugins building svn-id: r13630 --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure') diff --git a/configure b/configure index d787d8ac87..7602b4dec2 100755 --- a/configure +++ b/configure @@ -681,6 +681,16 @@ PLUGIN_LDFLAGS += -shared PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive 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*) -- cgit v1.2.3