OSDN Git Service

Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
authorDavid 'Digit' Turner <digit@google.com>
Wed, 22 Jul 2009 11:34:54 +0000 (13:34 +0200)
committerDavid 'Digit' Turner <digit@google.com>
Wed, 22 Jul 2009 11:34:54 +0000 (13:34 +0200)
build/core/clear-vars.mk
docs/CHANGES.TXT

index 4352474..74cce2f 100644 (file)
@@ -24,6 +24,7 @@ NDK_LOCAL_VARS := \
   LOCAL_CXXFLAGS \
   LOCAL_CPPFLAGS \
   LOCAL_LDFLAGS \
+  LOCAL_LDLIBS \
   LOCAL_ARFLAGS \
   LOCAL_CPP_EXTENSION \
   LOCAL_STATIC_LIBRARIES \
index 8f30f1f..b2804d8 100644 (file)
@@ -17,7 +17,8 @@ current version
      LOCAL_LDLIBS := -lz
 
   Actually work correctly, instead of having the linker complaining that it
-  could not find the corresponding libz.so library.
+  could not find the corresponding libz.so library. Also clear LOCAL_LDLIBS
+  in $(CLEAR_VARS) script.
 
 - Generate thumb binaries by default.