summaryrefslogtreecommitdiffstats
path: root/make/custom/i386ex.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/i386ex.cfg')
-rw-r--r--make/custom/i386ex.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg
index 7939307e05..12fcec58fb 100644
--- a/make/custom/i386ex.cfg
+++ b/make/custom/i386ex.cfg
@@ -67,7 +67,8 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe $(LINK_OBJS)
+ $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \
+ $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
$(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
$(PROJECT_TOOLS)/packhex > $(basename $@).exe