Skip stlport for simulator
The host's stl library conflicts with stlport, so we need to exclude stlport from inclusion in the build if we're targeting the simulator. Change-Id: Ib4da6140f4b8abb271d8e67636ccec2a796c8c5a
This commit is contained in:
parent
c778cad86d
commit
c0333631e1
1 changed files with 7 additions and 2 deletions
|
@ -54,11 +54,16 @@ LOCAL_SRC_FILES := \
|
|||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/android \
|
||||
bionic \
|
||||
external/stlport/stlport \
|
||||
$(LOCAL_PATH)/src
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils libutils libstlport
|
||||
libcutils libutils
|
||||
|
||||
# stlport conflicts with the host stl library
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_C_INCLUDES += external/stlport/stlport
|
||||
LOCAL_SHARED_LIBRARIES += libstlport
|
||||
endif
|
||||
|
||||
# Define the header files to be copied
|
||||
#LOCAL_COPY_HEADERS := \
|
||||
|
|
Loading…
Add table
Reference in a new issue