Skip to content
Snippets Groups Projects
Commit ff4ee38a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

contrib: don't trust pkg-config for pcre on OSX

Refs #56954

Change-Id: I1db4fe3ae0e011562b551efd1808cb7aec3490e1
parent ffcb8d41
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,13 @@ PCRE_VERSION := 8.35 ...@@ -4,9 +4,13 @@ PCRE_VERSION := 8.35
PCRE_URL := ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$(PCRE_VERSION).tar.bz2 PCRE_URL := ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$(PCRE_VERSION).tar.bz2
PKGS += pcre PKGS += pcre
# OS X ships with improperly packaged libpcre, so we can't rely on pkg-config
ifndef HAVE_MACOSX
ifeq ($(call need_pkg,"libpcre"),) ifeq ($(call need_pkg,"libpcre"),)
PKGS_FOUND += pcre PKGS_FOUND += pcre
endif endif
endif
$(TARBALLS)/pcre-$(PCRE_VERSION).tar.bz2: $(TARBALLS)/pcre-$(PCRE_VERSION).tar.bz2:
$(call download,$(PCRE_URL)) $(call download,$(PCRE_URL))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment