blob: f6389026444334681ab43f7cade4355928062caa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-aa,v 1.1.1.1 2005/11/05 01:47:41 minskim Exp $
--- ENVIRONMENT.orig 2002-11-01 07:10:11.000000000 -0700
+++ ENVIRONMENT
@@ -40,14 +40,14 @@ XPM_FLAG = -DUSE_XPM
XPM_LIB = -lXpm
# X11 libraries
-X11_LIB = -lX11 -lPW
+#X11_LIB = -lX11 -lPW
# non-SGI platforms do not need PW
-#X11_LIB = -lX11
+X11_LIB = -lX11
# below uses shared libraries
#X11_LIB = -lX11_s -lPW
# Motif libraries
-MOTIF_LIB = -lXm -lXt
+MOTIF_LIB = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lXm -lXt
# below uses shared libraries
#MOTIF_LIB = -lXm_s -lXt_s
@@ -58,7 +58,7 @@ MOTIF_LIB = -lXm -lXt
#GL_LIB_DIR = $(X11_LIB_DIR) -I/usr/local/mesa/lib
# GL libraries
-GL_LIB = -lglut -lGLU -lGL -lXmu -lX11 -lXext
+GL_LIB = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lglut -lGLU -lGL -lXmu -lXi -lX11 -lXext
# set up ENDIAN_FLAG as required
# WRITE_ENDIAN_PAR if want endianess written to par file
|