From 4e468ed2eb86a2406e14f1eca82072ee501d05fd Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:03:48 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- libdl/Android.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libdl/Android.mk') diff --git a/libdl/Android.mk b/libdl/Android.mk index 661aa18..150f704 100644 --- a/libdl/Android.mk +++ b/libdl/Android.mk @@ -16,6 +16,14 @@ include $(CLEAR_VARS) # DO NOT REMOVE --exclude-libs! LOCAL_LDFLAGS := -Wl,--exclude-libs=libgcc.a + +# for x86, exclude libgcc_eh.a for the same reasons as above +ifneq ($(TARGET_SIMULATOR),true) +ifeq ($(TARGET_ARCH),x86) +LOCAL_LDFLAGS += -Wl,--exclude-libs=libgcc_eh.a +endif +endif + LOCAL_SRC_FILES:= libdl.c LOCAL_MODULE:= libdl -- cgit v1.1