Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] (PR#4130) Compile problems on Solaris 9
Home

[Freeciv-Dev] (PR#4130) Compile problems on Solaris 9

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#4130) Compile problems on Solaris 9
From: "Paul Zastoupil" <paul@xxxxxxxxxxxxx>
Date: Fri, 2 May 2003 10:23:17 -0700
Reply-to: rt@xxxxxxxxxxxxxx

CVS updated just before this email was written:
Fri May  2 17:20:22 UTC 2003

Solaris needs -lm in two places.  I don't know how to detect that, maybe
someone else does?  I had to add it to a generated configure so line
numbers wont be much help.  But it was needed at the check for
png_read_image:
- LIBS="-lpng -lz $LIBS"
+ LIBS="-lpng -lz $LIBS -lm"

and at XOpenDisplay:
-   LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
+   LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS $LIBS -lm"

If we could just shove it into $LIBS I think we'd be fine.

-- 
Paul Zastoupil



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