From 3293a29d59577df6e975978eace0c9fa7bbe9df1 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 19 Jan 2023 11:05:21 -0600 Subject: [PATCH] Darwin: Remove '-undefined dynamic_lookup' from SHRLIB_LDFLAGS It's been deprecated by Apple in latest XCode and generates warning messages when creating .dylib libraries, but they don't yet have a solution for use when creating loadable libraries (.bundle files). --- configure/os/CONFIG.darwinCommon.darwinCommon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure/os/CONFIG.darwinCommon.darwinCommon b/configure/os/CONFIG.darwinCommon.darwinCommon index 0624b0063..c0a69f46c 100644 --- a/configure/os/CONFIG.darwinCommon.darwinCommon +++ b/configure/os/CONFIG.darwinCommon.darwinCommon @@ -66,7 +66,7 @@ GNU = NO # # Darwin shared libraries # -SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined dynamic_lookup \ +SHRLIB_LDFLAGS = -dynamiclib -flat_namespace \ -install_name $(abspath $(INSTALL_LIB))/$@ \ $(addprefix -compatibility_version , $(SHRLIB_VERSION)) \ $(addprefix -current_version , $(SHRLIB_VERSION))