aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordavilla <davilla@4pi.com>2011-06-15 15:06:44 -0400
committerdavilla <davilla@4pi.com>2011-06-15 15:06:44 -0400
commit7b8919a19d570b0752f662197b56244c5f1c2ca5 (patch)
treea1b6e4253db919fe27b39008e7aae06ab83a0d9f /tools
parent68d55eedfc56ad2da61c57f9c3e748fd6db6d201 (diff)
[osx/ios] fixed. tell cmake how to setup the internal paths on dylibs
Diffstat (limited to 'tools')
-rw-r--r--tools/darwin/depends/libssh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/darwin/depends/libssh/Makefile b/tools/darwin/depends/libssh/Makefile
index 8d01bcf82f..d6262a4eb4 100644
--- a/tools/darwin/depends/libssh/Makefile
+++ b/tools/darwin/depends/libssh/Makefile
@@ -29,6 +29,7 @@ $(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
-DCMAKE_CXX_FLAGS:STRING="$(CPPFLAGS) $(CXXFLAGS)" \
-DCMAKE_INCLUDE_PATH=$(PREFIX)/include \
-DCMAKE_LIBRARY_PATH=$(PREFIX)/lib \
+ -DCMAKE_INSTALL_NAME_DIR=$(PREFIX) \
-DCMAKE_INSTALL_PREFIX=$(PREFIX) ..
$(LIBDYLIB): $(SOURCE)