diff options
author | S. Davilla <davilla@4pi.com> | 2015-09-13 15:41:16 -0400 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-09-15 11:48:41 +0200 |
commit | 4e379d6ed606dfc30b66d5476805c2ab8d748349 (patch) | |
tree | 26e977b5a2c1566685a1fa96e027f2218603bfb2 | |
parent | b5545728f302ff9c2f06932fd8a360a2ff6bb465 (diff) |
[depends/libssh] - fixed typo (-fnostack-protector vs. -fno-stack-protector) - newest clang errors out on invalid params. Also nuke those libssh_threads dylibs too, not needed due to static linking
-rw-r--r-- | tools/depends/target/libssh/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/depends/target/libssh/Makefile b/tools/depends/target/libssh/Makefile index d7af794730..7fb244ecb4 100644 --- a/tools/depends/target/libssh/Makefile +++ b/tools/depends/target/libssh/Makefile @@ -23,7 +23,7 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) cd $(PLATFORM); patch -p0 < ../ntohl.patch cd $(PLATFORM); patch -p0 < ../md5.patch cd $(PLATFORM); patch -p1 < ../darwin.patch - sed -ie "s|-fstack-protector|-fnostack-protector|" "$(PLATFORM)/cmake/Modules/DefineCompilerFlags.cmake" + sed -ie "s|-fstack-protector|-fno-stack-protector|" "$(PLATFORM)/cmake/Modules/DefineCompilerFlags.cmake" sed -ie "s|add_subdirectory(examples)||" "$(PLATFORM)/CMakeLists.txt" cd $(PLATFORM)/build; $(CMAKE) -DWITH_STATIC_LIB=1 -DWITH_EXAMPLES=0 -DTHREADS_PTHREAD_ARG=0 -DWITH_GSSAPI=0 VERBOSE=1 .. @@ -34,6 +34,7 @@ $(LIBDYLIB): $(PLATFORM) make -C $(PLATFORM)/build install rm -f $(PREFIX)/lib/libssh.so $(PREFIX)/lib/libssh.so.4.3.0 $(PREFIX)/lib/libssh.so.4 rm -f $(PREFIX)/lib/libssh.*dylib* + rm -f $(PREFIX)/lib/libssh_threads.*dylib* touch $@ clean: |