parent
3636e9fb9c
commit
fddbdc20f8
@ -29,7 +29,7 @@ termux_step_make() {
|
||||
termux_step_make_install() {
|
||||
make \
|
||||
TO_BIN="lua5.2 luac5.2" \
|
||||
TO_LIB="liblua5.2.so liblua5.2.so.5.2 liblua5.2.so.${TERMUX_PKG_VERSION}" \
|
||||
TO_LIB="liblua5.2.so liblua5.2.so.5.2 liblua5.2.so.${TERMUX_PKG_VERSION} liblua5.2.a" \
|
||||
INSTALL_DATA="cp -d" \
|
||||
INSTALL_TOP="$TERMUX_PREFIX" \
|
||||
INSTALL_INC="$TERMUX_PREFIX/include/lua5.2" \
|
||||
|
@ -28,7 +28,7 @@ termux_step_pre_configure() {
|
||||
termux_step_make_install() {
|
||||
make \
|
||||
TO_BIN="lua5.3 luac5.3" \
|
||||
TO_LIB="liblua5.3.so liblua5.3.so.5.3 liblua5.3.so.${TERMUX_PKG_VERSION}" \
|
||||
TO_LIB="liblua5.3.so liblua5.3.so.5.3 liblua5.3.so.${TERMUX_PKG_VERSION} liblua5.3.a" \
|
||||
INSTALL_DATA="cp -d" \
|
||||
INSTALL_TOP="$TERMUX_PREFIX" \
|
||||
INSTALL_INC="$TERMUX_PREFIX/include/lua5.3" \
|
||||
|
@ -28,7 +28,7 @@ termux_step_pre_configure() {
|
||||
termux_step_make_install() {
|
||||
make \
|
||||
TO_BIN="lua5.4 luac5.4" \
|
||||
TO_LIB="liblua5.4.so liblua5.4.so.5.4 liblua5.4.so.${TERMUX_PKG_VERSION}" \
|
||||
TO_LIB="liblua5.4.so liblua5.4.so.5.4 liblua5.4.so.${TERMUX_PKG_VERSION} liblua5.4.a" \
|
||||
INSTALL_DATA="cp -d" \
|
||||
INSTALL_TOP="$TERMUX_PREFIX" \
|
||||
INSTALL_INC="$TERMUX_PREFIX/include/lua5.4" \
|
||||
|
@ -37,10 +37,12 @@ termux_step_make_install () {
|
||||
rm -f $TERMUX_PREFIX/lib/libluajit*
|
||||
|
||||
install -Dm600 $TERMUX_PKG_SRCDIR/src/libluajit.so $TERMUX_PREFIX/lib/libluajit-5.1.so.2.1.0
|
||||
install -Dm600 $TERMUX_PKG_SRCDIR/src/libluajit.a $TERMUX_PREFIX/lib/libluajit-5.1.a
|
||||
(cd $TERMUX_PREFIX/lib;
|
||||
ln -s -f libluajit-5.1.so.2.1.0 libluajit.so;
|
||||
ln -s -f libluajit-5.1.so.2.1.0 libluajit-5.1.so;
|
||||
ln -s -f libluajit-5.1.so.2.1.0 libluajit-5.1.so.2;)
|
||||
ln -s -f libluajit-5.1.so.2.1.0 libluajit-5.1.so.2;
|
||||
ln -s -f libluajit-5.1.a libluajit.a;)
|
||||
|
||||
install -Dm600 $TERMUX_PKG_SRCDIR/etc/luajit.1 $TERMUX_PREFIX/share/man/man1/luajit.1
|
||||
install -Dm600 $TERMUX_PKG_SRCDIR/etc/luajit.pc $TERMUX_PREFIX/lib/pkgconfig/luajit.pc
|
||||
|
@ -9,23 +9,6 @@
|
||||
#
|
||||
# Use this if you want to force a 32 bit build on a 64 bit multilib OS.
|
||||
#CC= $(DEFAULT_CC) -m32
|
||||
@@ -71,14 +71,14 @@
|
||||
# as dynamic mode.
|
||||
#
|
||||
# Mixed mode creates a static + dynamic library and a statically linked luajit.
|
||||
-BUILDMODE= mixed
|
||||
+#BUILDMODE= mixed
|
||||
#
|
||||
# Static mode creates a static library and a statically linked luajit.
|
||||
#BUILDMODE= static
|
||||
#
|
||||
# Dynamic mode creates a dynamic library and a dynamically linked luajit.
|
||||
# Note: this executable will only run when the library is installed!
|
||||
-#BUILDMODE= dynamic
|
||||
+BUILDMODE= dynamic
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
CCOPTIONS= $(CCDEBUG) $(ASOPTIONS)
|
||||
LDOPTIONS= $(CCDEBUG) $(LDFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user