Fix Linux build; regcomp plays poorly with symbol detection for some reason

This commit is contained in:
Michael Martin
2020-04-04 15:59:42 -07:00
parent 8823c4be44
commit aaed1e50e9
+4 -5
View File
@@ -72,12 +72,11 @@ uqm_requirements()
define_have_header regex.h
# If we have the regex header, see if we need to link it specially
if have_header regex.h; then
define_have_symbol regcomp
if not have_symbol regcomp; then
case "$HOST_SYSTEM" in
MINGW32*)
LDFLAGS="$LDFLAGS -lregex"
fi
fi
;;
esac
# Add define for HAVE__BOOL
define_have_type _Bool