File haproxy-1.6.0-makefile_lib.patch of Package haproxy.8922

Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -647,7 +647,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
 
 ifeq ($(USE_STATIC_PCRE),)
openSUSE Build Service is sponsored by