Skip to content

Commit 06e75d9

Browse files
peffgitster
authored andcommitted
Use compatibility regex library also on FreeBSD
Commit 3632cfc makes the same change for Darwin; however, the problem also exists on FreeBSD. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9c101b3 commit 06e75d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@ ifeq ($(uname_S),FreeBSD)
677677
BASIC_CFLAGS += -I/usr/local/include
678678
BASIC_LDFLAGS += -L/usr/local/lib
679679
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
680+
COMPAT_CFLAGS += -Icompat/regex
681+
COMPAT_OBJS += compat/regex/regex.o
680682
endif
681683
ifeq ($(uname_S),OpenBSD)
682684
NO_STRCASESTR = YesPlease

0 commit comments

Comments
 (0)