forked from openkylin/platform_build
Static binaries with libc++ need libs c, m and dl.
Can't be done on the user's end because these libraries all need to be linked after libc++_static. Change-Id: Ib21364e6f43689cf59da31d6f561919731ef8272
This commit is contained in:
parent
8ca542f439
commit
7955bf0fd6
|
@ -53,6 +53,11 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
|
|||
my_shared_libraries += libc++
|
||||
else
|
||||
my_static_libraries += libc++_static
|
||||
ifndef LOCAL_IS_HOST_MODULE
|
||||
ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
|
||||
my_static_libraries += libm libc libdl
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef LOCAL_IS_HOST_MODULE
|
||||
|
|
Loading…
Reference in New Issue