X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/107077d7fd6736711bf5cd980221723401d37c51..7b162fc84e202a16b89fa11224737ffbdd240bc8:/src/OS/Makefile-FreeBSD diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index ca1073e11..5f01b84e6 100644 --- a/src/OS/Makefile-FreeBSD +++ b/src/OS/Makefile-FreeBSD @@ -20,6 +20,9 @@ LIBS=-lcrypt -lm -lutil -lexecinfo # Dynamically loaded modules need to be built with -fPIC CFLAGS_DYNAMIC=-shared -rdynamic -fPIC +# Partial-linking needs -nostdlib +LDFLAGS_PARTIAL=-nostdlib + # FreeBSD always ships with Berkeley DB USE_DB=yes