Skip to content

Commit

Permalink
now using dynamic ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Turupawn committed Sep 17, 2019
1 parent b218567 commit 38a7795
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -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 ;
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down
Binary file modified lib/linux/libcurl.a
Binary file not shown.

0 comments on commit 38a7795

Please sign in to comment.