mirror of https://git.wownero.com/dsc/mxe.git
package yasm: install prefixed binary in mxe bin path
This commit is contained in:
parent
5b4088165a
commit
b7627171c2
10
src/yasm.mk
10
src/yasm.mk
|
@ -15,6 +15,16 @@ define $(PKG)_UPDATE
|
|||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
# native build of yasm - will the same for all targets
|
||||
# but we don't want to conflict with an un-prefixed version
|
||||
mkdir '$(1).native'
|
||||
cd '$(1).native' && '$(1)/configure' \
|
||||
--prefix='$(PREFIX)' \
|
||||
--program-prefix='$(TARGET)-' \
|
||||
--disable-nls \
|
||||
--disable-python
|
||||
$(MAKE) -C '$(1).native' -j '$(JOBS)' install
|
||||
|
||||
# yasm is always static
|
||||
cd '$(1)' && '$(1)/configure' \
|
||||
--host='$(TARGET)' \
|
||||
|
|
Loading…
Reference in New Issue