Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9494) Bug: ar without .o files gives error on MacO
Home

[Freeciv-Dev] Re: (PR#9494) Bug: ar without .o files gives error on MacO

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9494) Bug: ar without .o files gives error on MacOS X
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Fri, 13 Aug 2004 11:59:24 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9494 >

Benoit Hudson wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9494 >
> 
> On Thu, Aug 12, 2004 at 05:27:36PM -0700, Jason Short wrote:
> 
>>I thought it was fixed because there are now files in the gui-ftwl 
>>directory.  But I can't say for sure.
> 
> 
> There are, but they don't get compiled (at least on OSX).
> 

  They are only compiled if ftwl is enabled. Attached patch builds 
library only when ftwl is enabled, we have no use for empty library 
anyway. Does this help?


  - Caz


diff -Nurd freeciv/utility/ftwl/Makefile.am freeciv/utility/ftwl/Makefile.am
--- freeciv/utility/ftwl/Makefile.am    2004-08-13 21:32:18.687500000 +0300
+++ freeciv/utility/ftwl/Makefile.am    2004-08-13 21:48:35.937500000 +0300
@@ -1,6 +1,12 @@
 ## Process this file with automake to produce Makefile.in
 
-noinst_LIBRARIES = libftwl.a
+if FTWL
+FTWLLIB=libftwl.a
+else
+FTWLLIB=
+endif
+
+noinst_LIBRARIES = $(FTWLLIB)
 
 INCLUDES = -I. -I$(top_srcdir)/utility  -I../../intl -I/usr/include/freetype2 
@CLIENT_CFLAGS@
 

[Prev in Thread] Current Thread [Next in Thread]