rather than hard code config.h (which is normally generated)
authorMichael Richardson <mcr@sandelman.ca>
Mon, 17 Feb 2014 17:13:17 +0000 (12:13 -0500)
committerMichael Richardson <mcr@sandelman.ca>
Mon, 17 Feb 2014 17:13:17 +0000 (12:13 -0500)
save a copy in a subdir, and copy it in when building on Android

Android.mk
Android/config.h [moved from config.h with 100% similarity]

index b479f422534ca258a42b3de5dc0e250e32b3e4c2..2abf27db79ba0d2e3d983de6a6192c6e16eee2b6 100644 (file)
@@ -119,6 +119,9 @@ LOCAL_SRC_FILES:=\
        missing/strlcat.c\
        missing/strlcpy.c
 
+config.h:
+       cp Android/config.h config.h
+
 LOCAL_CFLAGS:=-O2 -g -DANDROID
 LOCAL_CFLAGS+=-DHAVE_CONFIG_H -D_U_="__attribute__((unused))"
 
similarity index 100%
rename from config.h
rename to Android/config.h