X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/0761d44e078b0c779c92be127bb4d984c60d0320..0a34949459c8ec5f79599a458704b7b11cdbb248:/src/OS/Makefile-FreeBSD diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index c0f75ee78..3a2697bba 100644 --- 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