blob: ed7ad52d49ec5d159c6c947905040f53ebf2a09f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.1.1.1 2001/03/26 07:08:59 fredb Exp $
--- Makefile.FreeBSD.orig Thu Feb 25 05:48:53 1999
+++ Makefile.FreeBSD Sun Mar 25 23:28:12 2001
@@ -28,8 +28,8 @@
CFLAGS+= -I$(X11BASE)/include -I$(MESADIR)/include -I$(JPEGDIR)/include -DSDATADIR=\"${SDATADIR}\"
-LDFLAGS= -L$(X11BASE)/lib -L$(MESADIR)/lib -L${JPEGDIR}/lib \
- -ljpeg -lglut -lMesaGLU -lMesaGL -lXext -lXmu -lX11 -lXi -lm
+LDFLAGS= -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -L${JPEGDIR}/lib -Wl,-R${JPEGDIR}/lib \
+ -ljpeg -lglut -lGLU -lGL -lXext -lXmu -lX11 -lXi -lm
# FreeBSD specific
.ifdef PORTOBJFORMAT
|