diff options
author | Yifan Hong <elsk@google.com> | 2017-09-13 22:13:26 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-09-13 22:13:26 +0000 |
commit | 3f3fe12c0527f8701653caadbc4ce4b84e4ea260 (patch) | |
tree | 98c438c240a49a5a53e2ecf4f2b26f8fb3a8ca46 | |
parent | 40eb3db2d8c85f2095dab73ce02301b175e5d619 (diff) | |
parent | 864c07077b0283ecf9bd36a0381951a19ec8c3df (diff) | |
download | native-3f3fe12c0527f8701653caadbc4ce4b84e4ea260.tar.gz |
Merge "Add runpath to lshal_test" into oc-mr1-dev
-rw-r--r-- | cmds/lshal/Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/lshal/Android.bp b/cmds/lshal/Android.bp index 67b5b46829..8a64717ea4 100644 --- a/cmds/lshal/Android.bp +++ b/cmds/lshal/Android.bp @@ -61,6 +61,10 @@ cc_test { shared_libs: [ "android.hardware.tests.baz@1.0" ], + ldflags: [ + "-Wl,--rpath,${ORIGIN}/..", + "-Wl,--enable-new-dtags", + ], srcs: [ "test.cpp" ] |