aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--secilc/Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/secilc/Android.bp b/secilc/Android.bp
index 9c097f99..75597dba 100644
--- a/secilc/Android.bp
+++ b/secilc/Android.bp
@@ -19,5 +19,9 @@ cc_binary {
// /system/bin/bootstrap/linker. RPATH is explicitly set to /system/lib/bootstrap
// where the bootstrap libc.so is.
bootstrap: true,
- ldflags: ["-Wl,--rpath,/system/${LIB}/bootstrap"],
+ target: {
+ android: {
+ ldflags: ["-Wl,--rpath,/system/${LIB}/bootstrap"],
+ },
+ },
}