]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
shut up linker complaints on OSX
authorAlan T. DeKok <aland@freeradius.org>
Mon, 29 Nov 2021 14:28:25 +0000 (09:28 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 29 Nov 2021 14:28:25 +0000 (09:28 -0500)
scripts/libtool.mk

index b71866f0b8f709ee574c9b3d6ea35aabbf219880..a46a3ae88c6552854402c214404901fe7a7717b7 100644 (file)
@@ -171,7 +171,7 @@ ifeq "${bm_shared_libs}" "yes"
     # RELINL : flags use to build executables that can be run
     #          from the build directory / source tree.
     RPATH_FLAGS := -rpath ${libdir}
-    LOCAL_FLAGS := -rpath $(abspath ${BUILD_DIR})/lib/${LOCAL}/.libs
+    LOCAL_FLAGS := -rpath $(subst //,/,$(abspath ${BUILD_DIR})/lib/${LOCAL}/.libs)
 
     LOCAL_FLAGS_MIN := -rpath ${libdir}