Pass --build and --host to xmlsec1 configury when cross-compiling
This commit is contained in:
parent
c163a61499
commit
64a25bc57a
1 changed files with 4 additions and 0 deletions
|
@ -153,6 +153,10 @@ CONFIGURE_DIR=
|
|||
CONFIGURE_ACTION=.$/configure ADDCFLAGS="$(xmlsec_CFLAGS)" CPPFLAGS="$(xmlsec_CPPFLAGS)"
|
||||
CONFIGURE_FLAGS=--with-pic --disable-shared --disable-crypto-dl --with-libxslt=no --with-openssl=no --with-gnutls=no LIBXML2LIB="$(LIBXML2LIB)"
|
||||
|
||||
.IF "$(CROSS_COMPILING)"=="YES"
|
||||
CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
|
||||
.ENDIF
|
||||
|
||||
.IF "$(OS)" == "ANDROID"
|
||||
CONFIGURE_FLAGS+=--with-openssl=$(SOLARVER)/$(INPATH)
|
||||
.ENDIF
|
||||
|
|
Loading…
Reference in a new issue