Skip to content

Commit 18c5a52

Browse files
hanbJunio C Hamano
authored andcommitted
[PATCH] git on OpenBSD
iconv is installed in /usr/local. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5cd5ace commit 18c5a52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ endif
175175
ifneq (,$(findstring arm,$(shell uname -m)))
176176
ARM_SHA1 = YesPlease
177177
endif
178+
ifeq ($(shell uname -s),OpenBSD)
179+
NEEDS_LIBICONV = YesPlease
180+
PLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib
181+
endif
178182

179183
ifndef NO_CURL
180184
ifdef CURLDIR

0 commit comments

Comments
 (0)