[pan: 3/16] fix build issues on not-windows
- From: Dominique Dumont <ddumont src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan: 3/16] fix build issues on not-windows
- Date: Mon, 25 Apr 2022 17:36:04 +0000 (UTC)
commit 9acd3a9b1dedbb55ad3e220c7498832cee057054
Author: Thomas Tanner <thosrtanner googlemail com>
Date: Tue Mar 29 22:04:39 2022 +0100
fix build issues on not-windows
pan/gui/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/pan/gui/Makefile.am b/pan/gui/Makefile.am
index 7d394ec..cce40b4 100644
--- a/pan/gui/Makefile.am
+++ b/pan/gui/Makefile.am
@@ -97,14 +97,16 @@ WINRC = panrc.rc
WINRCOBJ = $(WINRC:.rc=.o)
.rc.o: ../../config.h $(srcdir)/pan/icons/Pan.ico
$(WINDRES) -I . -I $(srcdir) -o $@ -i $<
+WINLIBS = -liconv
else
WINRC =
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 \
- @GTKSPELL_LIBS@ @ENCHANT_LIBS@ @GTK_LIBS@ @GMIME_LIBS@ @GLIB_LIBS@ @GNUTLS_LIBS@
@LIBNOTIFY_LIBS@ @LIBGNOME_KEYRING_1_LIBS@ @WEBKITGTK_LIBS@ @ZLIB_LIBS@ @LIBICONV@
+ @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
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]