diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-01-29 15:06:46 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-01-29 15:06:46 -0500 |
commit | e89b125d341c9ade21a6aef97ea5ed8aa3084c93 (patch) | |
tree | f799fcd92f2b52cd3a098d9f39200b8a89b15d80 /Makefile | |
parent | 8199f5c1c599a39ba0a9c4ace0bacde95b4bb483 (diff) | |
parent | 3cdf67e77da64ba1235265836f29b228deca3642 (diff) | |
download | bfs-e89b125d341c9ade21a6aef97ea5ed8aa3084c93.tar.xz |
Merge pull request #81 from data-man:oniguruma_1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -111,6 +111,11 @@ ifneq ($(filter release,$(MAKECMDGOALS)),) CFLAGS := $(DEFAULT_CFLAGS) -O3 -flto -DNDEBUG endif +ifeq ($(USE_ONIGURUMA),1) +LOCAL_LDLIBS += -lonig +LOCAL_CFLAGS += -DBFS_USE_ONIGURUMA=1 +endif + ALL_CPPFLAGS = $(LOCAL_CPPFLAGS) $(CPPFLAGS) ALL_CFLAGS = $(ALL_CPPFLAGS) $(LOCAL_CFLAGS) $(CFLAGS) $(DEPFLAGS) ALL_LDFLAGS = $(ALL_CFLAGS) $(LOCAL_LDFLAGS) $(LDFLAGS) |