summaryrefslogtreecommitdiff
path: root/emulators/snes9x-gtk/patches/patch-configure
blob: 3858a0e35a7a26fcd5043f16250d914cf89de79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-configure,v 1.1 2011/05/02 13:39:40 wiz Exp $

Do not hardcode libdl, it doesn't exist on e.g. NetBSD. Use DL_LIBS
variable set by dlopen.builtlink.mk.

--- configure.orig	2011-05-02 13:26:47.000000000 +0000
+++ configure
@@ -6316,7 +6316,7 @@ else
   CFLAGS="$CFLAGS -fomit-frame-pointer"
 fi
 
-LIBS="$LIBS -lX11 -ldl -lXext"
+LIBS="$LIBS -lX11 ${DL_LIBS} -lXext"
 
 ZSNESFX='#ZSNESFX=yes'
 ZSNESC4='#ZSNESC4=yes'