From e4f230b3cace23cebd057243fc1fd576eaa30858 Mon Sep 17 00:00:00 2001 From: niubinghui Date: Tue, 30 Jul 2024 14:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9lua-5.4.6=E4=B8=AD=E7=9A=84makefile=EF=BC=8C=E5=B0=86?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E4=BA=A7=E7=89=A9=E7=94=9F=E6=88=90=E8=87=B3?= =?UTF-8?q?output=E8=B7=AF=E5=BE=84=E4=B8=AD=EF=BC=8C=E6=B7=BB=E5=8A=A0-fP?= =?UTF-8?q?IC=E6=96=B9=E4=BE=BF=E7=BC=96=E8=AF=91=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- thirdPart/lua-5.4.6/Makefile | 2 +- thirdPart/lua-5.4.6/src/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdPart/lua-5.4.6/Makefile b/thirdPart/lua-5.4.6/Makefile index 8efa2eb..4291113 100644 --- a/thirdPart/lua-5.4.6/Makefile +++ b/thirdPart/lua-5.4.6/Makefile @@ -10,7 +10,7 @@ PLAT= guess # so take care if INSTALL_TOP is not an absolute path. See the local target. # You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h. -INSTALL_TOP= /usr/local +INSTALL_TOP= ./../../../output INSTALL_BIN= $(INSTALL_TOP)/bin INSTALL_INC= $(INSTALL_TOP)/include INSTALL_LIB= $(INSTALL_TOP)/lib diff --git a/thirdPart/lua-5.4.6/src/Makefile b/thirdPart/lua-5.4.6/src/Makefile index b771196..3a345b2 100644 --- a/thirdPart/lua-5.4.6/src/Makefile +++ b/thirdPart/lua-5.4.6/src/Makefile @@ -7,7 +7,7 @@ PLAT= guess CC= gcc -std=gnu99 -CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS) +CFLAGS= -O2 -Wall -fPIC -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS) LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS) LIBS= -lm $(SYSLIBS) $(MYLIBS)