Link android plugin against liblog in the NDK.
authorTobias Brunner <tobias@strongswan.org>
Thu, 16 Feb 2012 16:13:37 +0000 (17:13 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 Aug 2012 13:07:43 +0000 (15:07 +0200)
Doesn't seem to hurt the build within the source tree.

src/libcharon/Android.mk

index db05d3d..87a2e22 100644 (file)
@@ -127,6 +127,7 @@ processing/jobs/adopt_children_job.c processing/jobs/adopt_children_job.h
 LOCAL_SRC_FILES += $(call add_plugin, android)
 ifneq ($(call plugin_enabled, android),)
 LOCAL_C_INCLUDES += frameworks/base/cmds/keystore
+LOCAL_LDLIBS += -llog
 LOCAL_SHARED_LIBRARIES += libcutils
 endif