set install_name to POCO_PREFIX/lib

This commit is contained in:
Steven Hahn
2015-01-12 11:48:00 -05:00
parent 92c607e767
commit 24d6b57c90
3 changed files with 3 additions and 3 deletions

View File

@@ -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 =