Add -L${X11BASE} to sdl-config, as it is usually required.

Noticed by naddy@
This commit is contained in:
pvalchev 2001-05-16 23:55:36 +00:00
parent 9673a0eb1e
commit 396fdfefb4
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.3 2001/05/12 04:27:06 pvalchev Exp $ $OpenBSD: patch-configure,v 1.4 2001/05/16 23:55:36 pvalchev Exp $
--- configure.orig Mon Mar 26 20:39:34 2001 --- configure.orig Mon Mar 26 20:39:34 2001
+++ configure Fri May 11 22:12:18 2001 +++ configure Wed May 16 17:45:37 2001
@@ -6448,7 +6448,20 @@ __EOF__ @@ -6448,7 +6448,20 @@ __EOF__
__EOF__ __EOF__
cat >>$new <$old cat >>$new <$old
@ -38,7 +38,7 @@ $OpenBSD: patch-configure,v 1.3 2001/05/12 04:27:06 pvalchev Exp $
+fi +fi
+ +
+if test $ARCH = openbsd; then +if test $ARCH = openbsd; then
+ SDL_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib -Wl,-rpath,${X11BASE}/lib" + SDL_RLD_FLAGS="-L${X11BASE}/lib -Wl,-rpath,\${exec_prefix}/lib -Wl,-rpath,${X11BASE}/lib"
fi fi
if test x$enable_video = xtrue; then if test x$enable_video = xtrue; then

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.3 2001/05/12 04:27:06 pvalchev Exp $ $OpenBSD: patch-configure_in,v 1.4 2001/05/16 23:55:36 pvalchev Exp $
--- configure.in.orig Mon Mar 26 20:39:19 2001 --- configure.in.orig Mon Mar 26 20:39:19 2001
+++ configure.in Fri May 11 22:12:16 2001 +++ configure.in Wed May 16 17:45:33 2001
@@ -1199,7 +1199,11 @@ case "$target" in @@ -1199,7 +1199,11 @@ case "$target" in
COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h) COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h)
COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c) COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c)
@ -21,7 +21,7 @@ $OpenBSD: patch-configure_in,v 1.3 2001/05/12 04:27:06 pvalchev Exp $
+fi +fi
+ +
+if test $ARCH = openbsd; then +if test $ARCH = openbsd; then
+ SDL_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib -Wl,-rpath,${X11BASE}/lib" + SDL_RLD_FLAGS="-L${X11BASE}/lib -Wl,-rpath,\${exec_prefix}/lib -Wl,-rpath,${X11BASE}/lib"
fi fi
dnl Output the video drivers we use dnl Output the video drivers we use