]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
FreeBSD uses the .so extension too
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 2 May 2022 12:55:19 +0000 (14:55 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 2 May 2022 12:55:35 +0000 (14:55 +0200)
scripts/build/dlopen.c

index 39b72acc0982ee8e3128ae09614e652a5f4580a0..c910a6a9d6bfabd06c4105c2631b5b4b3cb8e348 100644 (file)
@@ -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"