Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/x11/bin/glxinfo need -lstdc++ -lm for -lGLU.



details:   https://anonhg.NetBSD.org/src/rev/d5ab04ec01c4
branches:  trunk
changeset: 552303:d5ab04ec01c4
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Sep 23 11:01:20 2003 +0000

description:
need  -lstdc++ -lm  for -lGLU.
(even though the latter is linked against the former two, that technique
doesn't help for static programs nor does it appear to work consistently)

diffstat:

 x11/bin/glxinfo/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 1e9cf7c06922 -r d5ab04ec01c4 x11/bin/glxinfo/Makefile
--- a/x11/bin/glxinfo/Makefile  Tue Sep 23 10:59:18 2003 +0000
+++ b/x11/bin/glxinfo/Makefile  Tue Sep 23 11:01:20 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/13 20:18:05 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/23 11:01:20 lukem Exp $
 
 .include <bsd.own.mk>
 
@@ -6,8 +6,9 @@
 
 CPPFLAGS+=${X11FLAGS.THREADS} -DDO_GLU
 
-LDADD+=        -lGLU -lGL -lXext -lX11 -lpthread -lm
-DPADD+=        ${LIBGLU} ${LIBGL} ${LIBXEXT} ${LIBX11} ${LIBPTHREAD} ${LIBM}
+LDADD+=        -lGLU -lGL -lXext -lX11 -lpthread -lstdc++ -lm
+DPADD+=        ${LIBGLU} ${LIBGL} ${LIBXEXT} ${LIBX11} ${LIBPTHREAD}
+DPADD+=        ${LIBSTDCXX} ${LIBM}
 
 .PATH: ${X11SRCDIR.xc}/programs/${PROG}
 



Home | Main Index | Thread Index | Old Index