mirror of https://git.wownero.com/dsc/mxe.git
use glibtoolize instead of libtoolize where appropriate (by Tony Theodore)
This commit is contained in:
parent
2e76a02298
commit
63d8aab43d
1
Makefile
1
Makefile
|
@ -17,6 +17,7 @@ PATH := $(PREFIX)/bin:$(PATH)
|
||||||
SHELL := bash
|
SHELL := bash
|
||||||
SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
|
SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
|
||||||
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
|
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
|
||||||
|
LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize
|
||||||
VERSION := $(shell $(SED) -n 's,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html')
|
VERSION := $(shell $(SED) -n 's,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html')
|
||||||
|
|
||||||
# unset any environment variables which might cause trouble
|
# unset any environment variables which might cause trouble
|
||||||
|
|
|
@ -19,6 +19,7 @@ define $(PKG)_UPDATE
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
|
$(SED) 's,libtoolize ,$(LIBTOOLIZE) ,' -i '$(1)'/bootstrap
|
||||||
cd '$(1)' && ./bootstrap
|
cd '$(1)' && ./bootstrap
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--prefix='$(PREFIX)/$(TARGET)' \
|
--prefix='$(PREFIX)/$(TARGET)' \
|
||||||
|
|
Loading…
Reference in New Issue