diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-04-24 11:10:52 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-04-24 11:10:52 +0800 |
commit | 9fefffd22d76e286c28090c2d993965ae54db304 (patch) | |
tree | d4b10ca3160c5e6425a749af3f342dae04b7dffe | |
parent | a48f77b5badf04bfcb9f9fe4839efda4f83309a2 (diff) | |
download | bison-9fefffd22d76e286c28090c2d993965ae54db304.tar.gz |
Fix bison build with MacOSX SDK 10.6
10.6 doesn't have strndup and getline needed by bison 2.7
Add missing libraries from lib/. Work for 10.7.x and 10.8.x too.
Change-Id: I10641f90a491c2e41e99d446b0dcccfef7fe3efc
-rw-r--r-- | Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -108,6 +108,8 @@ ifeq ($(BUILD_OS),darwin) LOCAL_SRC_FILES += \ lib/error.c \ lib/fpending.c \ + lib/getdelim.c \ + lib/getline.c \ lib/getopt.c \ lib/getopt1.c \ lib/obstack.c \ @@ -119,6 +121,8 @@ LOCAL_SRC_FILES += \ lib/strchrnul.c \ lib/strerror-override.c \ lib/strerror.c \ + lib/strndup.c \ + lib/strnlen.c \ lib/strverscmp.c \ lib/wcwidth.c endif |