mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
Fixed linking with the resource file.
This commit is contained in:
parent
5e00cfa510
commit
f1fecede18
@ -1596,6 +1596,7 @@ if test "${HAVE_W32}" = "yes"; then
|
||||
W32_OBJ="$W32_OBJ w32notify.o"
|
||||
W32_LIBS="$W32_LIBS -lwinmm -lgdi32 -lcomdlg32"
|
||||
W32_LIBS="$W32_LIBS -lmpr -lwinspool -lole32 -lcomctl32 -lusp10"
|
||||
W32_RES_LINK="\$(EMACSRES)"
|
||||
CLIENTRES="emacsclient.res"
|
||||
CLIENTW="emacsclientw\$(EXEEXT)"
|
||||
FIRSTFILE_OBJ=firstfile.o
|
||||
|
@ -263,9 +263,10 @@ W32_LIBS=@W32_LIBS@
|
||||
EMACSRES = @EMACSRES@
|
||||
## emacs-*.manifest if HAVE_W32
|
||||
EMACS_MANIFEST = @EMACS_MANIFEST@
|
||||
## If HAVE_W32 and CYGWIN, compiler arguments for including
|
||||
## If HAVE_W32, compiler arguments for including
|
||||
## the resource file in the binary.
|
||||
## XXX -Wl,-b -Wl,pe-i386 -Wl,emacs.res
|
||||
## Cygwin: -Wl,-b -Wl,pe-i386 -Wl,emacs.res
|
||||
## MinGW: emacs.res
|
||||
W32_RES_LINK=@W32_RES_LINK@
|
||||
|
||||
## Empty if !HAVE_X_WINDOWS
|
||||
@ -481,8 +482,7 @@ $(lib)/libgnu.a: $(config_h)
|
||||
temacs$(EXEEXT): stamp-oldxmenu $(ALLOBJS) \
|
||||
$(lib)/libgnu.a $(EMACSRES)
|
||||
$(CC) $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \
|
||||
-o temacs $(ALLOBJS) $(lib)/libgnu.a $(LIBES) \
|
||||
$(W32_RES_LINK)
|
||||
-o temacs $(ALLOBJS) $(lib)/libgnu.a $(W32_RES_LINK) $(LIBES)
|
||||
$(TEMACS_POST_LINK)
|
||||
test "$(CANNOT_DUMP)" = "yes" || \
|
||||
test "X$(PAXCTL)" = X || $(PAXCTL) -r temacs$(EXEEXT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user