Skip to content

Commit

Permalink
compile vendor pcre2 with unicode support
Browse files Browse the repository at this point in the history
  • Loading branch information
adsr committed Dec 16, 2024
1 parent 4c2e0d3 commit c16d956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
lua_cflags:=-std=c99 -Wall -Wextra -g -O3 -DLUA_USE_POSIX $(CFLAGS)
lua_objects:=$(patsubst lua/%.c,lua/%.o,$(filter-out lua/lua.c lua/onelua.c, $(wildcard lua/*.c)))

pcre2_cflags:=-std=c99 -Wall -Wextra -g -O3 -DPCRE2_CODE_UNIT_WIDTH=8 -DSUPPORT_JIT -DHAVE_CONFIG_H $(CFLAGS)
pcre2_cflags:=-std=c99 -Wall -Wextra -g -O3 -DPCRE2_CODE_UNIT_WIDTH=8 -DSUPPORT_JIT -DSUPPORT_UNICODE -DHAVE_CONFIG_H $(CFLAGS)
pcre2_objects:=$(addprefix pcre2/src/, \
pcre2_auto_possess.o pcre2_chartables.o pcre2_compile.o pcre2_config.o \
pcre2_context.o pcre2_convert.o pcre2_dfa_match.o pcre2_error.o pcre2_extuni.o \
pcre2_find_bracket.o pcre2_jit_compile.o pcre2_maketables.o pcre2_match.o \
pcre2_match_data.o pcre2_newline.o pcre2_ord2utf.o pcre2_pattern_info.o \
pcre2_script_run.o pcre2_serialize.o pcre2_string_utils.o pcre2_study.o \
pcre2_substitute.o pcre2_substring.o pcre2_tables.o pcre2_ucd.o pcre2_ucptables.o \
pcre2_substitute.o pcre2_substring.o pcre2_tables.o pcre2_ucd.o \
pcre2_valid_utf.o pcre2_xclass.o pcre2_chkdint.o)

all: uthash/src/utlist.h pcre2/libpcre2-8.a lua/liblua5.4.a
Expand Down

0 comments on commit c16d956

Please sign in to comment.