summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-28 00:05:52 -0400
committerpommicket <pommicket@gmail.com>2025-09-28 00:05:52 -0400
commit9f8fc7060e1a95e1f8b9cce0517e59fd247df397 (patch)
treef212dfe6d570b5485f616453eb17c01a96d09921 /Makefile
parent7dcbc9035672f60ca02e75cd3c021ceb3fe1358b (diff)
Don't build PCRE2 tests on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 46b3f6e..b626ce6 100644
--- a/Makefile
+++ b/Makefile
@@ -46,8 +46,9 @@ install: release
install ted $(INSTALL_BIN_DIR)
pcre-lib:
@if [ '!' -f pcre2/build/Makefile ]; then \
- mkdir pcre2/build && cd pcre2/build && \
- cmake -DCMAKE_BUILD_TYPE=Release -DPCRE2_BUILD_PCRE2_32=ON ..;\
+ rm -rf pcre2/build; \
+ mkdir pcre2/build && cd pcre2/build && pwd && \
+ cmake -DPCRE2_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DPCRE2_BUILD_PCRE2_32=ON ..;\
fi
$(MAKE) -C pcre2/build
cp pcre2/build/libpcre2-32.a pcre2/build/libpcre2-8.a .