Fix Linux build; regcomp plays poorly with symbol detection for some reason
This commit is contained in:
@@ -72,12 +72,11 @@ uqm_requirements()
|
|||||||
define_have_header regex.h
|
define_have_header regex.h
|
||||||
|
|
||||||
# If we have the regex header, see if we need to link it specially
|
# If we have the regex header, see if we need to link it specially
|
||||||
if have_header regex.h; then
|
case "$HOST_SYSTEM" in
|
||||||
define_have_symbol regcomp
|
MINGW32*)
|
||||||
if not have_symbol regcomp; then
|
|
||||||
LDFLAGS="$LDFLAGS -lregex"
|
LDFLAGS="$LDFLAGS -lregex"
|
||||||
fi
|
;;
|
||||||
fi
|
esac
|
||||||
|
|
||||||
# Add define for HAVE__BOOL
|
# Add define for HAVE__BOOL
|
||||||
define_have_type _Bool
|
define_have_type _Bool
|
||||||
|
|||||||
Reference in New Issue
Block a user