Fix sim-eng build.

Different handling of libdl.  Added sim handling in one place, corrected
typo in sim handling in another.

Change-Id: I24153ad5b8873083225390ba6a751941d231d092
This commit is contained in:
Andy McFadden
2010-07-19 10:42:32 -07:00
parent b5b37f3bcc
commit d84f9863af
2 changed files with 9 additions and 4 deletions

View File

@@ -18,8 +18,13 @@ LOCAL_PRELINK_MODULE := false
LOCAL_STATIC_LIBRARIES += libmusicbundle
LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl
libcutils
ifeq ($(TARGET_SIMULATOR),true)
LOCAL_LDLIBS += -ldl
else
LOCAL_SHARED_LIBRARIES += libdl
endif
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/Bundle \

View File

@@ -15,7 +15,7 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
LOCAL_MODULE:= libvisualizer
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
LOCAL_LDLIBS += -ldlS
LOCAL_LDLIBS += -ldl
endif
ifneq ($(TARGET_SIMULATOR),true)
@@ -27,4 +27,4 @@ LOCAL_C_INCLUDES := \
LOCAL_PRELINK_MODULE := false
include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)