1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-14 23:56:22 +00:00

makefile: Fallback to use regex library when pcre shared object isn't available

This commit is contained in:
Mark Pizzolato 2019-12-04 16:33:13 -08:00
parent 3812bafcd8
commit 4acde463ec

View File

@ -503,7 +503,8 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
OS_LDFLAGS += -L$(dir $(call find_lib,pcreposix))
endif
endif
else
endif
ifeq (,$(findstring DHAVE_PCREPOSIX_H,$(OS_CCDEFS)))
# If libpcreposix isn't available, fall back to the local regex.h
# Presume that the local regex support is available in the C runtime
# without a specific reference to a library. This may not be true on