From 24d6b57c90f5878eb67b37c9208d9f1ffd2318b3 Mon Sep 17 00:00:00 2001 From: Steven Hahn Date: Mon, 12 Jan 2015 11:48:00 -0500 Subject: [PATCH] set install_name to POCO_PREFIX/lib --- build/config/Darwin-clang | 2 +- build/config/Darwin-clang-libc++ | 2 +- build/config/Darwin-gcc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/config/Darwin-clang b/build/config/Darwin-clang index 6bdd172e6..78107d186 100644 --- a/build/config/Darwin-clang +++ b/build/config/Darwin-clang @@ -32,7 +32,7 @@ CXX = clang++ LINK = $(CXX) -bind_at_load LIB = libtool -static -o RANLIB = ranlib -SHLIB = $(CXX) -dynamiclib -o $@ +SHLIB = $(CXX) -dynamiclib -Wl,-install_name,$(POCO_PREFIX)/lib/$(notdir \$@) -o $@ DYLIB = $(CXX) -dynamic -bundle $(RORELOCS) -Wl,-bind_at_load -o $@ SHLIBLN = $(POCO_BASE)/build/script/shlibln STRIP = diff --git a/build/config/Darwin-clang-libc++ b/build/config/Darwin-clang-libc++ index 732be9268..7105fb0d2 100644 --- a/build/config/Darwin-clang-libc++ +++ b/build/config/Darwin-clang-libc++ @@ -29,7 +29,7 @@ CXX = $(shell xcrun -find clang++) LINK = $(CXX) -bind_at_load LIB = libtool -static -o RANLIB = ranlib -SHLIB = $(CXX) -dynamiclib -o $@ +SHLIB = $(CXX) -dynamiclib -Wl,-install_name,$(POCO_PREFIX)/lib/$(notdir \$@) -o $@ DYLIB = $(CXX) -dynamic -bundle -read_only_relocs suppress -Wl,-bind_at_load -o $@ SHLIBLN = $(POCO_BASE)/build/script/shlibln STRIP = diff --git a/build/config/Darwin-gcc b/build/config/Darwin-gcc index f273ee8ae..f8e99bc41 100644 --- a/build/config/Darwin-gcc +++ b/build/config/Darwin-gcc @@ -29,7 +29,7 @@ CXX = g++ LINK = $(CXX) -bind_at_load LIB = libtool -static -o RANLIB = ranlib -SHLIB = $(CXX) -dynamiclib -o $@ +SHLIB = $(CXX) -dynamiclib -Wl,-install_name,$(POCO_PREFIX)/lib/$(notdir \$@) -o $@ DYLIB = $(CXX) -dynamic -bundle -bind_at_load -o $@ SHLIBLN = $(POCO_BASE)/build/script/shlibln STRIP =