summaryrefslogtreecommitdiff
path: root/textproc/eb/patches/patch-aa
blob: ee24da3855278d27556f3843741fc756b82abb56 (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.2 2002/08/25 18:40:00 jlam Exp $

--- configure.orig	Sun Jun  9 12:06:40 2002
+++ configure
@@ -9509,7 +9509,7 @@
 fi;
 
 if test "X$z_libdir" != X ; then
-   ZLIBLIBS="-L$z_libdir -lz"
+   ZLIBLIBS="-Wl,-R$z_libdir -L$z_libdir -lz"
    ZLIBDEPS=''
 else
    ZLIBLIBS='-lz'
@@ -11250,7 +11250,7 @@
 
 if test $included_zlib = yes ; then
    EBCONF_ZLIBINCS='-I$(includedir)'
-   EBCONF_ZLIBLIBS='-L$(libdir) -lz'
+   EBCONF_ZLIBLIBS='-Wl,-R$(libdir) -L$(libdir) -lz'
 else
    EBCONF_ZLIBINCS=$ZLIBINCS
    EBCONF_ZLIBLIBS=$ZLIBLIBS
@@ -11269,7 +11269,7 @@
 
 
 EBCONF_EBINCS='-I$(includedir)'
-EBCONF_EBLIBS='-L$(libdir) -leb'
+EBCONF_EBLIBS='-Wl,-R$(libdir) -L$(libdir) -leb'