From: Arran Cudbard-Bell Date: Thu, 5 May 2022 09:36:13 +0000 (+0200) Subject: LIBRARY_EXT is really TARGET_LIBRARY_EXT which isn't what we want X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91ef231a70c9ec568e222562486c9a2ef5fbea34;p=thirdparty%2Ffreeradius-server.git LIBRARY_EXT is really TARGET_LIBRARY_EXT which isn't what we want --- diff --git a/Makefile b/Makefile index 62f71656eff..cc2e213e5b8 100644 --- a/Makefile +++ b/Makefile @@ -134,16 +134,16 @@ endef $(info $(subst CC,$nCC,$(shell $(MAKE) VERBOSE=$(VERBOSE) libfreeradius-make-dlopen.a libfreeradius-make-version.a))) endif -ifeq "${LIBRARY_EXT}" "" +ifeq "${HOST_LIBRARY_EXT}" "" ifneq "$(findstring Darwin,$(shell hostinfo 2>/dev/null))" "" -LIBRARY_EXT := dylib +HOST_LIBRARY_EXT := dylib else -LIBRARY_EXT := so +HOST_LIBRARY_EXT := so endif endif -load build/lib/.libs/libfreeradius-make-dlopen.${LIBRARY_EXT}(dlopen_gmk_setup) -load build/lib/.libs/libfreeradius-make-version.${LIBRARY_EXT}(version_gmk_setup) +load build/lib/.libs/libfreeradius-make-dlopen.${HOST_LIBRARY_EXT}(dlopen_gmk_setup) +load build/lib/.libs/libfreeradius-make-version.${HOST_LIBRARY_EXT}(version_gmk_setup) else #