git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 139: portability fixes and documentation.
[exim.git]
/
src
/
OS
/
Makefile-FreeBSD
diff --git
a/src/OS/Makefile-FreeBSD
b/src/OS/Makefile-FreeBSD
index c0f75ee78efb5d78e66e602772b7b284a84b9d97..3a2697bbab2e1009c2cd60b73fa99c6f523eda29 100644
(file)
--- a/
src/OS/Makefile-FreeBSD
+++ b/
src/OS/Makefile-FreeBSD
@@
-15,6
+15,9
@@
HAVE_SA_LEN=YES
# crypt() is in a separate library
LIBS=-lcrypt -lm -lutil
+# Dynamicly loaded modules need to be built with -fPIC
+CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
+
# FreeBSD always ships with Berkeley DB
USE_DB=yes