Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3031) linking against libiconv
Home

[Freeciv-Dev] (PR#3031) linking against libiconv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#3031) linking against libiconv
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Sat, 8 Feb 2003 04:29:26 -0800
Reply-to: rt.freeciv.org@xxxxxxxxxxxxxx

When linking against an independent libiconv (that is not already linked
in by default), the SDL client does not link properly.  The attached
patch should fix this.

I think we never found this before because if you use NLS you are
already linking against iconv.

jason

? m4/ggz.m4
? m4/xaw-client.m4
Index: m4/sdl-client.m4
===================================================================
RCS file: /home/freeciv/CVS/freeciv/m4/sdl-client.m4,v
retrieving revision 1.4
diff -u -r1.4 sdl-client.m4
--- m4/sdl-client.m4    2003/02/07 00:31:30     1.4
+++ m4/sdl-client.m4    2003/02/08 12:27:25
@@ -55,6 +55,7 @@
       AM_ICONV
       AM_LIBCHARSET
       AM_LANGINFO_CODESET
+      CLIENT_LIBS="$LIBICONV $CLIENT_LIBS"
 
       dnl Check for some other libraries - needed under BeOS for instance.
       dnl These should perhaps be checked for in all cases?

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3031) linking against libiconv, Jason Short via RT <=