aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-04-11 13:02:11 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-02-13 04:26:55 +0100
commite847432411cb5e82995500779314583acf3f768b (patch)
tree78aacb59d7b6d9c0c25cdfcc396d6aa9682f1d26
parent5fcbe7a9224efa34791a5d866a1bd96631894b03 (diff)
downloadexternal_heimdall-e847432411cb5e82995500779314583acf3f768b.tar.gz
external_heimdall-e847432411cb5e82995500779314583acf3f768b.tar.bz2
external_heimdall-e847432411cb5e82995500779314583acf3f768b.zip
Add linux linker dependencies
Change-Id: Icdaa3e12411c2ff4f920a31c1bdae05c6c387820
-rw-r--r--heimdall/source/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/heimdall/source/Android.mk b/heimdall/source/Android.mk
index 0d18f38..c566ce3 100644
--- a/heimdall/source/Android.mk
+++ b/heimdall/source/Android.mk
@@ -55,5 +55,9 @@ ifeq ($(HOST_OS),darwin)
LOCAL_LDFLAGS := -framework CoreFoundation -framework IOKit
endif
+ifeq ($(HOST_OS),linux)
+LOCAL_LDFLAGS := -lpthread -lrt
+endif
+
LOCAL_MODULE := heimdall
include $(BUILD_HOST_EXECUTABLE)