aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Lukas Fleischer <cgit@cryptocrack.de>2013-03-04 17:18:38 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-03-04 23:27:43 (JST)
commit78a24e5c55ac57efab90cf1e65b9af226b388a39 (patch)
tree60313e5eda3dc83f98ea15128c86cc3a5b50c60a /Makefile
parentca59b26dfd6e5bed6622fad2c57d57083714f9e7 (diff)
downloadcgit-78a24e5c55ac57efab90cf1e65b9af226b388a39.zip
cgit-78a24e5c55ac57efab90cf1e65b9af226b388a39.tar.gz
Makefile: Disable gettext in the Git submodule
Newer libgit versions depend on the libintl library. However, we currently do not link against libintl which breaks compilation under OpenBSD: git/libgit.a(commit.o)(.text+0x1d1b): In function `lookup_commit_or_die': git/gettext.h:47: undefined reference to `libintl_gettext' [...] Since we do not support i18n in cgit, just disable gettext in the Git submodule to fix this. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 42e8bfd..1127961 100644
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD))
99 NEEDS_LIBICONV = yes 99 NEEDS_LIBICONV = yes
100endif 100endif
101 101
102GIT_OPTIONS = prefix=/usr 102GIT_OPTIONS = prefix=/usr NO_GETTEXT=1
103OBJECTS = 103OBJECTS =
104 104
105ifdef NO_ICONV 105ifdef NO_ICONV