[pan: 1/15] Fix linking issue with rc file specified twice




commit acd59c9504e7a3e78b8a5d0804cfdc28114c7f6c
Author: Thomas Tanner <thosrtanner googlemail com>
Date:   Wed Apr 27 21:04:21 2022 +0100

    Fix linking issue with rc file specified twice

 pan/gui/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pan/gui/Makefile.am b/pan/gui/Makefile.am
index cce40b4..f2a041d 100644
--- a/pan/gui/Makefile.am
+++ b/pan/gui/Makefile.am
@@ -94,18 +94,18 @@ bin_PROGRAMS = \
 
 if HAVE_WIN32
 WINRC = panrc.rc
-WINRCOBJ = $(WINRC:.rc=.o)
+#WINRCOBJ = $(WINRC:.rc=.o)
 .rc.o: ../../config.h $(srcdir)/pan/icons/Pan.ico
        $(WINDRES) -I . -I $(srcdir) -o $@ -i $<
 WINLIBS = -liconv
 else
 WINRC =
-WINRCOBJ =
+#WINRCOBJ =
 WINLIBS =
 endif
 
 pan_SOURCES = gui.cc pan.cc $(WINRC)
-pan_LDADD = ./libpangui.a $(WINRCOBJ) ../data-impl/libpandata.a ../tasks/libtasks.a ../data/libdata.a 
../usenet-utils/libusenetutils.a ../general/libgeneralutils.a ../../uulib/libuu.a \
+pan_LDADD = ./libpangui.a ../data-impl/libpandata.a ../tasks/libtasks.a ../data/libdata.a 
../usenet-utils/libusenetutils.a ../general/libgeneralutils.a ../../uulib/libuu.a \
                @GTKSPELL_LIBS@ @ENCHANT_LIBS@ @GTK_LIBS@ @GMIME_LIBS@ @GLIB_LIBS@ @GNUTLS_LIBS@ 
@LIBNOTIFY_LIBS@ @LIBGNOME_KEYRING_1_LIBS@ @WEBKITGTK_LIBS@ @ZLIB_LIBS@ ${WINLIBS}
 if HAVE_WIN32
 pan_LDFLAGS = -mwindows


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]