summaryrefslogtreecommitdiff
path: root/extra/config
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-24 22:29:30 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-10-24 22:29:30 +0000
commit15e6cdf87ac378107dbbe096f1b09917733b0240 (patch)
treedb4e4d9c444655f7fac521dca998b4abbbe682f2 /extra/config
parent7340d67f42488a315c0dd1b892d7c5e528c766d0 (diff)
- fix order of link-flags
On cygwin one has to pass make menuconfig HOST_LOADLIBES="-lcurses -lintl" otherwise just curses is linked in and some symbols that live in intl are unresolved. Closes #1554 and possibly a couple of other reports.
Diffstat (limited to 'extra/config')
-rw-r--r--extra/config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/config/Makefile b/extra/config/Makefile
index 6bd5bf65d..2a700be51 100644
--- a/extra/config/Makefile
+++ b/extra/config/Makefile
@@ -18,10 +18,10 @@ host-cmulti := $(foreach m,$(__hostprogs),\
host-cobjs := $(sort $(foreach m,$(__hostprogs),$($(m)-objs)))
$(host-csingle): %: %.c
- $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $(HOST_LOADLIBES) $< -o $@
+ $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $< $(HOST_LOADLIBES) -o $@
$(host-cmulti): %: $(host-cobjs) $(host-cshlib)
- $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $(HOST_LOADLIBES) $($@-objs) -o $@
+ $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $($@-objs) $(HOST_LOADLIBES) -o $@
$(host-cobjs): %.o: %.c
$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) -c $< -o $@