Skip to content

Commit

Permalink
build: add -static-libstdc++ to Android linker flags
Browse files Browse the repository at this point in the history
Avoid having to bundle libc++_shared
  • Loading branch information
icota committed Nov 7, 2019
1 parent 5271132 commit 1a9c7ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -599,6 +599,7 @@ case $host in
dnl make sure android stays above linux for hosts like *linux-android*
TARGET_OS=android
LEVELDB_TARGET_FLAGS="-DOS_ANDROID"
LDFLAGS="$LDFLAGS -static-libstdc++"
;;
*linux*)
TARGET_OS=linux
Expand Down

0 comments on commit 1a9c7ab

Please sign in to comment.