Add libdl dependency for target libraries
Fixed x86_64 target build with gcc 4.9 Change-Id: Id3b1e9286c2bcbb8e3ac117bcef957304db7cfd3
This commit is contained in:
parent
cec2ab20a0
commit
45c57131d2
@ -376,6 +376,7 @@ include $(LOCAL_PATH)/Android.build.testlib.mk
|
||||
libtest_dlsym_from_this_src_files := dlsym_from_this.cpp
|
||||
|
||||
module := libtest_dlsym_from_this
|
||||
libtest_dlsym_from_this_shared_libraries_target := libdl
|
||||
|
||||
include $(LOCAL_PATH)/Android.build.testlib.mk
|
||||
|
||||
@ -396,13 +397,9 @@ libtest_dlopen_from_ctor_src_files := \
|
||||
|
||||
module := libtest_dlopen_from_ctor
|
||||
|
||||
build_target := SHARED_LIBRARY
|
||||
build_type := host
|
||||
include $(TEST_PATH)/Android.build.mk
|
||||
libtest_dlopen_from_ctor_shared_libraries_target := libdl
|
||||
|
||||
libtest_dlopen_from_ctor_shared_libraries := libdl
|
||||
build_type := target
|
||||
include $(TEST_PATH)/Android.build.mk
|
||||
include $(LOCAL_PATH)/Android.build.testlib.mk
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Library that depends on the library with constructor that calls dlopen() b/7941716
|
||||
|
Loading…
x
Reference in New Issue
Block a user