parent
9f9c17c988
commit
759a8c34bb
@ -0,0 +1,13 @@
|
||||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -198,6 +198,7 @@
|
||||
case "$TARGET_OS" in
|
||||
*mingw*)
|
||||
EXT=".exe"
|
||||
+ SHARED_NAME="liblsmash-$MAJVER"
|
||||
SHARED_EXT=".dll"
|
||||
IMPLIB="liblsmash.dll.a"
|
||||
SO_LDFLAGS="-shared -Wl,--out-implib,$IMPLIB"
|
@ -0,0 +1,20 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := liblsmash
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.9.1
|
||||
$(PKG)_CHECKSUM := 17f24fc8bffba753f8c628f1732fc3581b80362341274747ef6fb96af1cac45c
|
||||
$(PKG)_SUBDIR := l-smash-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
|
||||
$(PKG)_URL := https://github.com/l-smash/l-smash/archive/v$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--cross-prefix=$(TARGET)- \
|
||||
$(if $(BUILD_SHARED), --enable-shared --disable-static)
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)' -j 1 install
|
||||
endef
|
Loading…
Reference in new issue