haproxy/haproxy-1.6.0-makefile_lib.patch
Marcus Rueckert 0d50066a3d - Refreshed patches to apply cleanly again:
haproxy-1.6.0-makefile_lib.patch
  haproxy-1.6.0-sec-options.patch
- Updated series file: removed outdated patches

- Update to version 2.8.0+git0.fdd8154ed:
  https://www.mail-archive.com/haproxy@formilux.org/msg43600.html

OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=284
2023-05-31 19:13:18 +00:00

23 lines
812 B
Diff

Index: haproxy-2.8/Makefile
===================================================================
--- haproxy-2.8.orig/Makefile
+++ haproxy-2.8/Makefile
@@ -750,7 +750,7 @@ ifneq ($(USE_PCRE)$(USE_STATIC_PCRE)$(US
PCREDIR := $(shell $(PCRE_CONFIG) --prefix 2>/dev/null || echo /usr/local)
ifneq ($(PCREDIR),)
PCRE_INC := $(PCREDIR)/include
- PCRE_LIB := $(PCREDIR)/lib
+ PCRE_LIB := $(PCREDIR)/$(LIB)
endif
PCRE_CFLAGS := $(if $(PCRE_INC),-I$(PCRE_INC))
@@ -768,7 +768,7 @@ ifneq ($(USE_PCRE2)$(USE_STATIC_PCRE2)$(
PCRE2DIR := $(shell $(PCRE2_CONFIG) --prefix 2>/dev/null || echo /usr/local)
ifneq ($(PCRE2DIR),)
PCRE2_INC := $(PCRE2DIR)/include
- PCRE2_LIB := $(PCRE2DIR)/lib
+ PCRE2_LIB := $(PCRE2DIR)/$(LIB)
ifeq ($(PCRE2_WIDTH),)
PCRE2_WIDTH = 8