summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-ak
blob: c3dd8009da3fd27b94fdff6db43b7a48f58fac5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ak,v 1.4 2001/04/17 16:27:22 rh Exp $

--- sdl-config.in.orig	Wed Feb 28 16:53:18 2001
+++ sdl-config.in
@@ -48,8 +48,8 @@
       echo $includes -I@includedir@/SDL @SDL_CFLAGS@
       ;;
 @ENABLE_SHARED_TRUE@    --libs)
-@ENABLE_SHARED_TRUE@      libdirs="-L@libdir@ @SDL_RLD_FLAGS@"
-@ENABLE_SHARED_TRUE@      echo $libdirs @SDL_LIBS@
+@ENABLE_SHARED_TRUE@      libdirs="-L@libdir@ -Wl,-R@libdir@ @SDL_RLD_FLAGS@"
+@ENABLE_SHARED_TRUE@      echo $libdirs @SDL_LIBS@ @SYSTEM_LIBS@
 @ENABLE_SHARED_TRUE@      ;;
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)