diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-02-04 12:27:48 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-02-21 16:37:09 -0500 |
commit | defde40088462873ef714344bdf859e91b6349fd (patch) | |
tree | e3e4bdae8bdba1ceb0b05461d53eba4dd2424536 /Makefile | |
parent | e5d5659884af4e2ebf9a788dd379825a470bd01d (diff) | |
download | bfs-defde40088462873ef714344bdf859e91b6349fd.tar.xz |
Enable Oniguruma by default
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -68,6 +68,15 @@ ASAN := $(filter asan,$(MAKECMDGOALS)) MSAN := $(filter msan,$(MAKECMDGOALS)) UBSAN := $(filter ubsan,$(MAKECMDGOALS)) +ifndef MSAN +WITH_ONIGURUMA := y +endif + +ifdef WITH_ONIGURUMA +LOCAL_LDLIBS += -lonig +LOCAL_CFLAGS += -DBFS_WITH_ONIGURUMA=1 +endif + ifeq ($(OS),Linux) ifndef MSAN # These libraries are not built with msan WITH_ACL := y @@ -101,11 +110,6 @@ else # Linux DISTCHECK_FLAGS := TEST_FLAGS="--verbose" endif -ifdef WITH_ONIGURUMA -LOCAL_LDLIBS += -lonig -LOCAL_CFLAGS += -DBFS_WITH_ONIGURUMA=1 -endif - ifeq ($(OS),NetBSD) LOCAL_LDLIBS += -lutil endif |