RAC-oi
2024-02-21 cc6eb0a2844a13606f985dfbd83a9c0a6c886d8f
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nuraw haproxy-2.8.6_O/Makefile haproxy-2.8.6/Makefile
--- haproxy-2.8.6_O/Makefile    2024-02-15 14:53:26.000000000 +0100
+++ haproxy-2.8.6/Makefile    2024-02-19 03:26:27.000000000 +0100
@@ -622,7 +622,7 @@
   LUA_INC      := $(firstword $(foreach lib,lua5.4 lua54 lua5.3 lua53 lua,$(call check_lua_inc,$(lib),"/usr/include/")))
 
   check_lua_lib = $(shell echo "int main(){}" | $(CC) -o /dev/null -x c - $(2) -l$(1) 2>/dev/null && echo $(1))
-  LUA_LD_FLAGS := -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) $(if $(LUA_LIB),-L$(LUA_LIB))
+  LUA_LD_FLAGS := $(if $(LUA_LIB),-L$(LUA_LIB))
 
   # Try to automatically detect the Lua library if not set
   ifeq ($(LUA_LIB_NAME),)