Skip to content

Commit 30c9faa

Browse files
authored
Further expand pcre2-config libdir support as discussed
1 parent 4cf80c7 commit 30c9faa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pcre2-config.in

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ esac
3939

4040
libS=
4141
case "@libdir@" in
42-
/usr/lib|/usr/lib32|/usr/lib64|/usr/lib/*-gnu*|/lib|/lib32|/lib64|/lib/*-gnu*)
43-
# system locations, no -L needed
42+
# system locations on Linux, no -L needed
43+
/usr/lib|/usr/lib32|/usr/lib64|/usr/lib/*-gnu*)
44+
;;
45+
/lib|/lib32|/lib64|/lib/*-gnu*)
46+
;;
47+
# system locations on AIX and Solaris, no -L needed
48+
/usr/lib/64|/usr/lib/amd*|/usr/lib/sparc*|/usr/lib/ppc*)
4449
;;
4550
*)
4651
libS="-L@libdir@"

0 commit comments

Comments
 (0)