Skip to content

Commit

Permalink
Merge pull request #13 from marmistrz/master
Browse files Browse the repository at this point in the history
Fix various build issues
  • Loading branch information
namndev authored Jun 24, 2020
2 parents c7e24bb + b92b17f commit 00c98db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qDict/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
versionCode 20191029
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=gnustl_shared'
arguments '-DANDROID_STL=c++_shared'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions qDict/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ target_include_directories(qdicteng PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/plugs
)

set(ANDROID_STL gnustl_shared)
set(ANDROID_STL c++_shared)

# Include libraries needed for qdicteng lib
target_link_libraries(qdicteng
android
z
log)
log)
2 changes: 1 addition & 1 deletion qDict/src/main/cpp/InfoFile.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "utils/DictUtils.h"
#include "utils/MapFile.h"
#include <sys/stat.h>
#include <Stdlib.h>
#include <stdlib.h>

static const char* skip_new_line(const char *p) {
if (!p)
Expand Down

0 comments on commit 00c98db

Please sign in to comment.