From: Alan T. DeKok Date: Thu, 5 May 2022 12:57:38 +0000 (+0200) Subject: rename variables to something which makes sense X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0ab8319cea4421693e69ca99d4feecd6a57c57;p=thirdparty%2Ffreeradius-server.git rename variables to something which makes sense --- diff --git a/scripts/libtool.mk b/scripts/libtool.mk index 17995f16930..85d338d9915 100644 --- a/scripts/libtool.mk +++ b/scripts/libtool.mk @@ -179,18 +179,18 @@ endef # By default, if libdir is defined, we build shared libraries. # However, we can disable shared libraries if explicitly told to. ifneq "${libdir}" "" - ifneq "${bm_shared_libs}" "no" - bm_shared_libs := yes + ifneq "${USE_SHARED_LIBS}" "no" + USE_SHARED_LIBS := yes endif endif # Default to building static libraries, too. -ifneq "${bm_static_libs}" "no" - bm_static_libs := yes +ifneq "${USE_STATIC_LIBS}" "no" + USE_STATIC_LIBS := yes endif # Check if we build shared libraries. -ifeq "${bm_shared_libs}" "yes" +ifeq "${USE_SHARED_LIBS}" "yes" LOCAL := local/ # RPATH : flags use to build executables that are installed, @@ -202,12 +202,12 @@ ifeq "${bm_shared_libs}" "yes" LOCAL_FLAGS_MIN := -rpath ${libdir} - ifneq "${bm_static_libs}" "yes" + ifneq "${USE_STATIC_LIBS}" "yes" RPATH_FLAGS += --shared LOCAL_FLAGS += --shared endif else - ifneq "${bm_static_libs}" "yes" + ifneq "${USE_STATIC_LIBS}" "yes" $(error Building without static libraries requires you to set 'INSTALL' or 'libdir') endif