Skip to content
Snippets Groups Projects
Commit b1fb0244 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

fix build for android

parent be6317e6
Branches
Tags
No related merge requests found
......@@ -21,6 +21,9 @@ case "${host_os}" in
linux*)
SYS=linux
;;
android*)
SYS=android
;;
darwin*)
SYS=darwin
;;
......@@ -40,6 +43,9 @@ case "${host_os}" in
;;
esac
AS_IF([test "x$SYS" = "xandroid"],
[], [LDFLAGS="${LDFLAGS} -lpthread"])
LT_INIT()
LT_LANG(C++)
......
libexec_PROGRAMS = dhtnode dhtchat
AM_CPPFLAGS = -I../include
dhtnode_SOURCES = dhtnode.cpp
dhtnode_LDFLAGS = -lpthread -lopendht -L../src/.libs @GNUTLS_LIBS@
dhtnode_LDFLAGS = -lopendht -L../src/.libs @GNUTLS_LIBS@
AM_CPPFLAGS = -I../include
dhtchat_SOURCES = dhtchat.cpp
dhtchat_LDFLAGS = @GNUTLS_LIBS@ -lpthread -lopendht -L../src/.libs
dhtchat_LDFLAGS = -lopendht -L../src/.libs @GNUTLS_LIBS@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment