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>
This commit is contained in:
کامیت شده توسط
Jason A. Donenfeld
والد
ca59b26dfd
کامیت
78a24e5c55
2
Makefile
2
Makefile
@@ -99,7 +99,7 @@ ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD))
|
|||||||
NEEDS_LIBICONV = yes
|
NEEDS_LIBICONV = yes
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GIT_OPTIONS = prefix=/usr
|
GIT_OPTIONS = prefix=/usr NO_GETTEXT=1
|
||||||
OBJECTS =
|
OBJECTS =
|
||||||
|
|
||||||
ifdef NO_ICONV
|
ifdef NO_ICONV
|
||||||
|
|||||||
مرجع در شماره جدید
Block a user