diff options
author | Elliott Hughes <enh@google.com> | 2012-08-13 14:06:05 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-08-13 14:06:05 -0700 |
commit | ae5c64413bf72bc18d7fc81e1f5761824bc01f49 (patch) | |
tree | 910859328e35be8af64308ad002b0d290bc738f1 /libdl | |
parent | 66fba00991f03d07c72f809d033b88748f839bda (diff) | |
download | bionic-ae5c64413bf72bc18d7fc81e1f5761824bc01f49.zip bionic-ae5c64413bf72bc18d7fc81e1f5761824bc01f49.tar.gz bionic-ae5c64413bf72bc18d7fc81e1f5761824bc01f49.tar.bz2 |
Add dependencies on all the makefiles.
This should help prevent broken builds next time I'm messing with
assembler/compiler/linker flags...
Change-Id: I30f15a3ce3c3f3c60cad7bc59aaba9f42d792224
Diffstat (limited to 'libdl')
-rw-r--r-- | libdl/Android.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libdl/Android.mk b/libdl/Android.mk index fb01ec2..e6c6bf4 100644 --- a/libdl/Android.mk +++ b/libdl/Android.mk @@ -6,11 +6,11 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) -# NOTE: --exclude-libs=libgcc.a makes sure that any symbols libdl.so pulls from +# NOTE: --exclude-libs=libgcc.a makes sure that any symbols libdl.so pulls from # libgcc.a are made static to libdl.so. This in turn ensures that libraries that # a) pull symbols from libgcc.a and b) depend on libdl.so will not rely on libdl.so # to provide those symbols, but will instead pull them from libgcc.a. Specifically, -# we use this property to make sure libc.so has its own copy of the code from +# we use this property to make sure libc.so has its own copy of the code from # libgcc.a it uses. # # DO NOT REMOVE --exclude-libs! @@ -25,6 +25,7 @@ endif LOCAL_SRC_FILES:= libdl.c LOCAL_MODULE:= libdl +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk # NOTE: libdl needs __aeabi_unwind_cpp_pr0 from libgcc.a but libgcc.a needs a # few symbols from libc. Using --no-undefined here results in having to link @@ -32,7 +33,7 @@ LOCAL_MODULE:= libdl # with missing symbols. Since this library is just a bunch of stubs, we set # LOCAL_ALLOW_UNDEFINED_SYMBOLS to remove --no-undefined from the linker flags. LOCAL_ALLOW_UNDEFINED_SYMBOLS := true -LOCAL_SYSTEM_SHARED_LIBRARIES := +LOCAL_SYSTEM_SHARED_LIBRARIES := include $(BUILD_SHARED_LIBRARY) @@ -47,7 +48,8 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES:= dltest.c -LOCAL_MODULE:= dltest +LOCAL_MODULE:= dltest +LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_SHARED_LIBRARIES := libdl |