[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]
<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@
|
|