[PATCH] git on OpenBSD
[gitweb.git] / Makefile
index e7f3d1ffca1bba7736202cc3c02a8d99e22b51b3..79cafd71712425d38f8cb5974a2768b76e3a542e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -175,6 +175,10 @@ endif
 ifneq (,$(findstring arm,$(shell uname -m)))
        ARM_SHA1 = YesPlease
 endif
+ifeq ($(shell uname -s),OpenBSD)
+       NEEDS_LIBICONV = YesPlease
+       PLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib
+endif
 
 ifndef NO_CURL
        ifdef CURLDIR