diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2015-11-06 00:20:16 +0000 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2015-11-13 02:17:43 +0000 |
commit | 2cf7a83fded92821a59279cf566fe85fafc35fc8 (patch) | |
tree | 1ae532250416de506df6edf79658f056106438a8 /kconfig | |
parent | ada8ae30a89eb395e51d6f423c65a57a7dcbfb1b (diff) | |
download | crosstool-ng-2cf7a83fded92821a59279cf566fe85fafc35fc8.tar.gz crosstool-ng-2cf7a83fded92821a59279cf566fe85fafc35fc8.tar.bz2 crosstool-ng-2cf7a83fded92821a59279cf566fe85fafc35fc8.zip |
Cygwin: Link to libintl for gettext
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Diffstat (limited to 'kconfig')
-rwxr-xr-x[-rw-r--r--] | kconfig/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile index b18ddc0a..27482afe 100644..100755 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -7,7 +7,7 @@ all: conf mconf nconf # Build flags CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(VERSION)\"" -LDFLAGS = +LDFLAGS = $(INTL_LIBS) # Compiler flags to use gettext ifeq ($(gettext),) @@ -50,13 +50,6 @@ nconf_DEP = $(patsubst %.c,%.dep,$(nconf_SRC)) $(nconf_OBJ) $(nconf_DEP): CFLAGS += $(INTL_CFLAGS) -I/usr/include/ncurses nconf: LDFLAGS += -lmenu -lpanel -lncurses -# Under Cygwin, we need to auto-import some libs (which ones, exactly?) -# for mconf and nconf to lin properly. -ifeq ($(shell uname -o 2>/dev/null || echo unknown),Cygwin) -mconf: LDFLAGS += -Wl,--enable-auto-import -nconf: LDFLAGS += -Wl,--enable-auto-import -endif - # These are generated files: ALL_OBJS = $(sort $(COMMON_OBJ) $(LX_OBJ) $(conf_OBJ) $(mconf_OBJ) $(nconf_OBJ)) ALL_DEPS = $(sort $(COMMON_DEP) $(LX_DEP) $(conf_DEP) $(mconf_DEP) $(nconf_DEP)) |