X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Makefile;h=e67d0e78228d186a4358ede07bb686bbac53678b;hb=fd25c82a80533da035d42a5ac229ec5c5b332411;hp=92f0bda5e785aaff667c82c6a07776197bd24e4e;hpb=91dd674e30ba0298e89c9be2657024805170c2ac;p=git.git diff --git a/Makefile b/Makefile index 92f0bda5..e67d0e78 100644 --- a/Makefile +++ b/Makefile @@ -180,6 +180,7 @@ ifneq (,$(findstring arm,$(shell uname -m))) ARM_SHA1 = YesPlease endif ifeq ($(shell uname -s),OpenBSD) + NO_STRCASESTR = YesPlease NEEDS_LIBICONV = YesPlease PLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib endif @@ -246,7 +247,7 @@ ifdef NEEDS_NSL SIMPLE_LIB += -lnsl endif ifdef NO_STRCASESTR - DEFINES += -Dstrcasestr=gitstrcasestr + DEFINES += -Dstrcasestr=gitstrcasestr -DNO_STRCASESTR=1 LIB_OBJS += compat/strcasestr.o endif