X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3857519629ca8fbcf3466c3fc761a5bb6ed32d53..b4a88d7a067354abbe93c7c32264f31d1e461123:/src/OS/Makefile-FreeBSD?ds=sidebyside diff --git a/src/OS/Makefile-FreeBSD b/src/OS/Makefile-FreeBSD index f0fb8f2c9..5f01b84e6 100644 --- a/src/OS/Makefile-FreeBSD +++ b/src/OS/Makefile-FreeBSD @@ -1,6 +1,6 @@ # Exim: OS-specific make file for FreeBSD # -# Copyright (c) The Exim Maintainers 2020 +# Copyright (c) The Exim Maintainers 2020 - 2023 # SPDX-License-Identifier: GPL-2.0-or-later CHOWN_COMMAND=/usr/sbin/chown @@ -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