Skip to content
Browse files

depends: fix android build with NDK 8e

  • Loading branch information...
1 parent c3c7fd3 commit ba6c368aa89d5257e1662a375dbdaf1288118090 Cory Fields committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/depends/target/libssh/Makefile
View
2 tools/depends/target/libssh/Makefile
@@ -23,7 +23,7 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
cd $(PLATFORM); patch -p0 < ../md5.patch
sed -ie "s|-fstack-protector|-fnostack-protector|" "$(PLATFORM)/cmake/Modules/DefineCompilerFlags.cmake"
sed -ie "s|add_subdirectory(examples)||" "$(PLATFORM)/CMakeLists.txt"
- cd $(PLATFORM)/build; $(CMAKE) -DWITH_STATIC_LIB=1 VERBOSE=1 ..
+ cd $(PLATFORM)/build; $(CMAKE) -DWITH_STATIC_LIB=1 -DTHREADS_PTHREAD_ARG=0 VERBOSE=1 ..
$(LIBDYLIB): $(PLATFORM)
make -j 1 -C $(PLATFORM)/build

0 comments on commit ba6c368

Please sign in to comment.
Something went wrong with that request. Please try again.