diff options
author | data-man <dataman@tutanota.com> | 2022-01-24 07:34:59 +0500 |
---|---|---|
committer | data-man <dataman@tutanota.com> | 2022-01-24 07:34:59 +0500 |
commit | 475bc25800451c76d9a721fb35628693758a15e0 (patch) | |
tree | aa46e0fc0be368d98f1fc34853b70b1e6619eedb /Makefile | |
parent | 8199f5c1c599a39ba0a9c4ace0bacde95b4bb483 (diff) | |
download | bfs-475bc25800451c76d9a721fb35628693758a15e0.tar.xz |
Using Oniguruma library (optionally)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -72,6 +72,11 @@ ifeq ($(OS),Linux) LOCAL_LDFLAGS += -Wl,--as-needed LOCAL_LDLIBS += -lacl -lcap -lattr -lrt +ifdef USE_ONIGURUMA +LOCAL_LDLIBS += -lonig +LOCAL_CFLAGS += -DUSE_ONIGURUMA +endif + # These libraries are not built with msan, so disable them MSAN_CFLAGS += -DBFS_HAS_SYS_ACL=0 -DBFS_HAS_SYS_CAPABILITY=0 -DBFS_HAS_SYS_XATTR=0 @@ -82,6 +87,11 @@ endif ifeq ($(OS),NetBSD) LOCAL_LDLIBS += -lutil + +ifdef USE_ONIGURUMA +LOCAL_LDLIBS += -lonig +LOCAL_CFLAGS += -DUSE_ONIGURUMA +endif endif ifneq ($(filter asan,$(MAKECMDGOALS)),) |