From: Arran Cudbard-Bell Date: Mon, 2 May 2022 12:55:19 +0000 (+0200) Subject: FreeBSD uses the .so extension too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=445d936327d1e5821373a03decad86648bb9fd00;p=thirdparty%2Ffreeradius-server.git FreeBSD uses the .so extension too --- diff --git a/scripts/build/dlopen.c b/scripts/build/dlopen.c index 39b72acc098..c910a6a9d6b 100644 --- a/scripts/build/dlopen.c +++ b/scripts/build/dlopen.c @@ -52,7 +52,7 @@ struct link_map { }; # define DL_EXTENSION ".dylib" -#elif defined(__linux__) +#elif defined(__linux__) || defined(__FreeBSD__) # define DL_EXTENSION ".so" #elif defined(__EMSCRIPTEN__) # define DL_EXTENSION ".wasm"