Fix linking libc++ on mac
Darwin seems to have trouble with weak symbols, adding -Wl,-undefined,dynamic_lookup moves the problem to runtime where it seems to work. Test: aidl-cpp builds and starts Change-Id: Ia8553abd5a9b61ed65dd4b064e57d30ad2418263
This commit is contained in:
@@ -86,6 +86,7 @@ cc_library_shared {
|
||||
unexported_symbols_list: "lib/libc++unexp.exp",
|
||||
force_symbols_not_weak_list: "lib/notweak.exp",
|
||||
force_symbols_weak_list: "lib/weak.exp",
|
||||
ldflags: ["-Wl,-undefined,dynamic_lookup"],
|
||||
},
|
||||
|
||||
linux: {
|
||||
|
||||
Reference in New Issue
Block a user