From e236459209aeb7d11c63dc3e9da657fb7f6d136d Mon Sep 17 00:00:00 2001 From: Dima Pulkinen Date: Thu, 29 Feb 2024 10:46:30 +0200 Subject: [PATCH] a very hacky way to build static libraries --- src/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile b/src/makefile index ce869d9..bba105a 100755 --- a/src/makefile +++ b/src/makefile @@ -289,8 +289,8 @@ CC_psp=psp-gcc DEF_psp=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN CFLAGS_psp=$(LUAINC:%=-I%) $(PSPSDK:%=-I%)/include $(DEF) -Wall -Wshadow -Wextra \ -Wimplicit -O2 -ggdb3 -LDFLAGS_psp=$(LUALIB) -O -static -o -LD_psp=psp-gcc +LDFLAGS_psp=$(LUALIB) && mv templib.a +LD_psp=psp-ar rcs templib.a SOCKET_psp=usocket.o