]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
LIBRARY_EXT is really TARGET_LIBRARY_EXT which isn't what we want
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 5 May 2022 09:36:13 +0000 (11:36 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 5 May 2022 09:51:07 +0000 (11:51 +0200)
Makefile

index 62f71656effb0e453524790497d96c5292b64837..cc2e213e5b8a0ef7e6de5d2002b932e13a464956 100644 (file)
--- 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
 #