[gtkada] linking patch
Björn Persson
bjorn at xn--rombobjrn-67a.se
Wed Feb 17 00:22:54 CET 2010
Hello!
A change in the default behavior of the linker in Fedora uncovered a problem
with the GtkAda build process. The testgtk program uses the sqrt function but
isn't linked to libm explicitly. I fixed the problem with this patch.
Björn Persson
--- testgtk/Makefile.in~ 2010-02-14 02:31:31.000000000 +0100
+++ testgtk/Makefile.in 2010-02-14 02:31:31.000000000 +0100
@@ -24,7 +24,7 @@
ifeq ($(HAVE_OPENGL),True)
OPENGL_C_OBJECTS=lw.o
-OPENGL_LIBS= @GL_LIBS@
+OPENGL_LIBS= @GL_LIBS@ -lm
else
OPENGL_C_OBJECTS=
OPENGL_LIBS=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : /pipermail/gtkada/attachments/20100217/a99d50b7/attachment.pgp
More information about the gtkada
mailing list