Browse Source

Fix LibreSSL build

tmp-new-features
Davide Depau 2 years ago
parent
commit
e3a5561561
Signed by: Depau GPG Key ID: C7D999B6A55EFE86
3 changed files with 8 additions and 8 deletions
  1. +1
    -1
      .gitmodules
  2. +6
    -6
      dmg2img/CMakeLists.txt
  3. +1
    -1
      dmg2img/src/c/libressl

+ 1
- 1
.gitmodules View File

@ -9,4 +9,4 @@
url = https://github.com/LuaDist/bzip2.git
[submodule "app/src/c/libressl"]
path = dmg2img/src/c/libressl
url = https://github.com/libressl-portable/portable.git
url = https://github.com/Depau/libressl.git

+ 6
- 6
dmg2img/CMakeLists.txt View File

@ -3,18 +3,18 @@ cmake_minimum_required(VERSION 3.4)
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/src/main/assets/bin/${ANDROID_ABI}")
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
if (CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif(CCACHE_FOUND)
endif (CCACHE_FOUND)
execute_process(
COMMAND truncate -s 0 crypto/compat/getpagesize.c
WORKING_DIRECTORY src/c/libressl)
COMMAND truncate -s 0 crypto/compat/getpagesize.c
WORKING_DIRECTORY src/c/libressl)
execute_process(
COMMAND ./autogen.sh
WORKING_DIRECTORY src/c/libressl)
COMMAND touch VERSION
WORKING_DIRECTORY src/c/libressl)
include_directories(src/c/bzip2)
include_directories(src/c/libressl/include)


+ 1
- 1
dmg2img/src/c/libressl

@ -1 +1 @@
Subproject commit 4dbf285573d5254e5169be44e45c7685a336b6e8
Subproject commit 8c7e77f2b1482573c3f37ea55965a60726bf967a

Loading…
Cancel
Save