From f387ebdfafcd877ba17a9f7757fc1d3b895685bd Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Fri, 25 Dec 2020 19:07:56 +0100 Subject: [PATCH] Update Makefile --- lib/core/lua-5.3.4/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/lua-5.3.4/Makefile b/lib/core/lua-5.3.4/Makefile index 29e9b0e..71d0cd4 100644 --- a/lib/core/lua-5.3.4/Makefile +++ b/lib/core/lua-5.3.4/Makefile @@ -61,7 +61,7 @@ $(LUA_A): $(BASE_O) $(RANLIB) $@ $(LUA_SO): $(BASE_O) - gcc -shared $(BASE_O) -o $@ -ldl -lm + $(CC) -shared $(BASE_O) -o $@ -ldl -lm $(LUA_T): $(LUA_O) $(LUA_A) $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)