openbsd-ports/x11/wxWidgets/patches/patch-acinclude_m4
sthen 1393a96c7a When searching for shared lib dirs, instead of just looking for files with
the extensions a so sl dylib dll.a, also search for la files. Fixes wxWidgets
autoconf finding MESA now that there's no static library.
2015-11-23 13:08:16 +00:00

13 lines
465 B
Plaintext

$OpenBSD: patch-acinclude_m4,v 1.1 2015/11/23 13:08:16 sthen Exp $
--- acinclude.m4.orig Mon Nov 23 13:05:15 2015
+++ acinclude.m4 Mon Nov 23 13:05:24 2015
@@ -51,7 +51,7 @@ AC_DEFUN([WX_PATH_FIND_LIBRARIES],
ac_find_libraries=
for ac_dir in $1;
do
- for ac_extension in a so sl dylib dll.a; do
+ for ac_extension in la a so sl dylib dll.a; do
if test -f "$ac_dir/lib$2.$ac_extension"; then
ac_find_libraries=$ac_dir
break 2