Browse Source

Merge branch 'es/make-no-iconv'

"make NO_ICONV=NoThanks" did not override NEEDS_LIBICONV
(i.e. linkage of -lintl, -liconv, etc. that are platform-specific
tweaks), which has been corrected.

* es/make-no-iconv:
  Makefile: make NO_ICONV really mean "no iconv"
maint
Junio C Hamano 7 years ago
parent
commit
da34dd49bb
  1. 2
      Makefile

2
Makefile

@ -1351,6 +1351,7 @@ ifdef APPLE_COMMON_CRYPTO
LIB_4_CRYPTO += -framework Security -framework CoreFoundation LIB_4_CRYPTO += -framework Security -framework CoreFoundation
endif endif
endif endif
ifndef NO_ICONV
ifdef NEEDS_LIBICONV ifdef NEEDS_LIBICONV
ifdef ICONVDIR ifdef ICONVDIR
BASIC_CFLAGS += -I$(ICONVDIR)/include BASIC_CFLAGS += -I$(ICONVDIR)/include
@ -1363,6 +1364,7 @@ ifdef NEEDS_LIBICONV
endif endif
EXTLIBS += $(ICONV_LINK) -liconv EXTLIBS += $(ICONV_LINK) -liconv
endif endif
endif
ifdef NEEDS_LIBGEN ifdef NEEDS_LIBGEN
EXTLIBS += -lgen EXTLIBS += -lgen
endif endif

Loading…
Cancel
Save