aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-01-31 05:19:51 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-31 05:19:51 -0800
commit3cc01fcf4cb6e91681a29a06e05dbf02a9ac8174 (patch)
tree99bd84b1d3f25ad6575f7b819a90e8e1f33cb7a9
parenta153dd6b8a18c309df00b0a8977b3d2044cc5c3a (diff)
parent4d7a87e0af7272107b3cb68e259e384149da65d0 (diff)
downloadandroid_external_selinux-3cc01fcf4cb6e91681a29a06e05dbf02a9ac8174.tar.gz
android_external_selinux-3cc01fcf4cb6e91681a29a06e05dbf02a9ac8174.tar.bz2
android_external_selinux-3cc01fcf4cb6e91681a29a06e05dbf02a9ac8174.zip
Fix mac build am: e45a6d8a5b am: 650fe90a43
am: 4d7a87e0af Change-Id: I71a5eea8c0997f201d2a7f05e5c775ca3f2e4272
-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"],
+ },
+ },
}