Skip to content
Permalink
Browse files

now using dynamic ssl

  • Loading branch information
Turupawn committed Sep 17, 2019
1 parent b218567 commit 38a779581cc18ebf9b1fee2618bc969003774c13
Showing with 3 additions and 1 deletion.
  1. +1 −0 .travis.yml
  2. +2 −1 CMakeLists.txt
  3. BIN lib/linux/libcurl.a
@@ -14,6 +14,7 @@ script:
CXX=/usr/bin/g++-5 CC=/usr/bin/gcc-5 cmake . ;
fi
- make -j2
- ldd --version
- if [[ "$TRAVIS_TAG" ]]; then
cmake -D mode=static . ;
make -j2 ;
@@ -33,7 +33,8 @@ ENDIF()
IF (UNIX AND NOT APPLE)
add_definitions(-D_LARGEFILE64_SOURCE)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
target_link_libraries (modio ${CMAKE_SOURCE_DIR}/lib/linux/libcurl.a -static-libgcc -static-libstdc++)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
target_link_libraries (modio ${CMAKE_SOURCE_DIR}/lib/linux/libcurl.a ssl libcrypto.a pthread -static-libgcc -static-libstdc++)
ENDIF ()

IF (MINGW)
BIN -8.74 KB (99%) lib/linux/libcurl.a
Binary file not shown.

0 comments on commit 38a7795

Please sign in to comment.
You can’t perform that action at this time.