mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
26 lines
802 B
Diff
26 lines
802 B
Diff
From 492088ee0565b8d947d129125ab3518a4da6a7c9 Mon Sep 17 00:00:00 2001
|
|
From: Brian Callahan <ibara@users.noreply.github.com>
|
|
Date: Fri, 1 Apr 2022 02:54:00 +0200
|
|
Subject: [PATCH 3/4] Manually link with pcre2
|
|
|
|
Co-Authored-By: EWouters <6179932+EWouters@users.noreply.github.com>
|
|
---
|
|
Makefile.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index f716df4..c1a7880 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -20,7 +20,7 @@ objs = buffer.o carg_parser.o global.o io.o main.o main_loop.o regex.o signal.o
|
|
all : $(progname) r$(progname)
|
|
|
|
$(progname) : $(objs)
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(objs)
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(objs) -lpcre2-posix -lpcre2-8
|
|
|
|
r$(progname) : r$(progname).in
|
|
cat $(VPATH)/r$(progname).in > $@
|
|
--
|
|
2.36.1
|
|
|