mirror of https://git.wownero.com/dsc/mxe.git
glib: Clarify the glib-* tools building process
This commit is contained in:
parent
79ff98f490
commit
59f59f2fde
|
@ -64,12 +64,19 @@ endef
|
|||
define $(PKG)_BUILD
|
||||
cd '$(1)' && NOCONFIGURE=true ./autogen.sh
|
||||
rm -f '$(PREFIX)/$(TARGET)/bin/glib-*'
|
||||
|
||||
# Detecting if these GLib tools are already available on host machine,
|
||||
# either because of a host package installation or from an earlier MXE
|
||||
# installation of GLib.
|
||||
# If it is installed, we symlink it into the MXE bin/.
|
||||
# If not, we build it.
|
||||
$(if $(findstring y,\
|
||||
$(shell [ -x "`which glib-genmarshal`" ] && \
|
||||
[ -x "`which glib-compile-schemas`" ] && \
|
||||
[ -x "`which glib-compile-resources`" ] && echo y)), \
|
||||
$($(PKG)_SYMLINK), \
|
||||
$($(PKG)_NATIVE_BUILD))
|
||||
|
||||
# cross build
|
||||
cd '$(1)' && ./configure \
|
||||
$(MXE_CONFIGURE_OPTS) \
|
||||
|
|
Loading…
Reference in New Issue