blob: 3a8ee8c40928eba58ad0c9aa0fc4f67c867c4934 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.3 2010/01/26 09:01:24 adam Exp $
--- Makefile.in.orig 2009-06-07 09:52:59.000000000 +0000
+++ Makefile.in
@@ -239,7 +239,7 @@ LD_SHARED = @LD_SHARED@
LD_SONAME_LIBMAP = -W1,@SO_COMMAND_NAME@,$(LIBMAP_SH_VER)
XTRALIBS= @XTRALIBS@
-RUNPATHS= @RPATHS@
+RUNPATHS= @RPATHS@ -Wl,-R${prefix}/lib -Wl,-R${X11BASE}/lib
DEFINES = $(IGNORE_MISSING_DATA) $(USE_POINT_Z_M) $(STRINGS) @ALL_ENABLED@ $(FRIBIDI)
@@ -286,6 +286,9 @@ all: $(MAKE_GD) libmapserver.a $(EXTRA_D
.c.o:
$(CC) -c $(CFLAGS) $< -o $@
+.cpp.o:
+ $(CXX) -c $(CXXFLAGS) $< -o $@
+
mapogl.o: mapogl.cpp
$(CXX) -c $(CXXFLAGS) mapogl.cpp -o mapogl.o
|