Cross-compilation support for Android
This commit is contained in:
@@ -398,6 +398,17 @@
|
|||||||
$(RM) -f $(libdb)
|
$(RM) -f $(libdb)
|
||||||
$(LN) -s .libs/$(libdb_version) $(libdb)
|
$(LN) -s .libs/$(libdb_version) $(libdb)
|
||||||
|
|
||||||
|
--- misc/db-4.7.25.NC/dist/config.sub
|
||||||
|
+++ misc/build/db-4.7.25.NC/dist/config.sub
|
||||||
|
@@ -1272,7 +1272,7 @@
|
||||||
|
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||||
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
|
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
+ | -udi* | -androideabi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
|
| -chorusos* | -chorusrdb* \
|
||||||
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
|
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||||
--- misc/db-4.7.25.NC/dist/configure 2008-05-15 23:12:41.000000000 +0200
|
--- misc/db-4.7.25.NC/dist/configure 2008-05-15 23:12:41.000000000 +0200
|
||||||
+++ misc/build/db-4.7.25.NC/dist/configure 2009-07-21 11:39:25.000000000 +0200
|
+++ misc/build/db-4.7.25.NC/dist/configure 2009-07-21 11:39:25.000000000 +0200
|
||||||
@@ -3757,8 +3757,10 @@
|
@@ -3757,8 +3757,10 @@
|
||||||
|
@@ -116,7 +116,7 @@ BUILD_DIR=$(CONFIGURE_DIR)
|
|||||||
BUILD_DIR_OUT=$(CONFIGURE_DIR)
|
BUILD_DIR_OUT=$(CONFIGURE_DIR)
|
||||||
BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
|
BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
|
||||||
|
|
||||||
.IF "$(OS)"=="IOS"
|
.IF "$(OS)"=="IOS" || "$(OS)" == "ANDROID"
|
||||||
OUT2LIB=$(BUILD_DIR)$/libdb*.a
|
OUT2LIB=$(BUILD_DIR)$/libdb*.a
|
||||||
.ELSE
|
.ELSE
|
||||||
OUT2LIB=$(BUILD_DIR)$/.libs$/libdb*$(DLLPOST)
|
OUT2LIB=$(BUILD_DIR)$/.libs$/libdb*$(DLLPOST)
|
||||||
|
Reference in New Issue
Block a user