summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2009-05-15 21:36:28 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2009-05-18 14:48:26 +0100
commit8331bde0adeccefb275c4d707e7b2cb1d95b1581 (patch)
treef8881c6f4ed4066ff20c90620dc2d0b99a474384 /hw
parent2f6253376df45e508284ff7766b186cfc7fb56d6 (diff)
Cygwin/X: link with libmain.a to provide main()
Commit 987579c930bda803427a28cb82773c389f5110d6 moves main.c into into libmain.a to be linked with separately, and updates the various DDXs to link with libmain.a, except Xwin, which also needs this change. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'hw')
-rw-r--r--hw/xwin/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am
index 504c2a6cd..4f9513088 100644
--- a/hw/xwin/Makefile.am
+++ b/hw/xwin/Makefile.am
@@ -147,7 +147,7 @@ XWin_SOURCES = $(SRCS)
INCLUDES = -I$(top_srcdir)/miext/rootless
XWin_DEPENDENCIES = $(XWIN_LIBS)
-XWin_LDADD = $(XWIN_LIBS) $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XWIN_SYS_LIBS)
+XWin_LDADD = $(XWIN_LIBS) $(MAIN_LIB) $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XWIN_SYS_LIBS)
.rc.o:
$(WINDRES) --use-temp-file -i $< --input-format=rc -o $@ -O coff -DPROJECT_NAME=\"$(VENDOR_NAME_SHORT)\"