[svn:parrot] r40354 - trunk/runtime/parrot/library
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Sat Aug 1 00:15:12 UTC 2009
Author: NotFound
Date: Sat Aug 1 00:15:11 2009
New Revision: 40354
URL: https://trac.parrot.org/parrot/changeset/40354
Log:
[lib] try harder to load libpcre in the default platform case
Modified:
trunk/runtime/parrot/library/pcre.pir
Modified: trunk/runtime/parrot/library/pcre.pir
==============================================================================
--- trunk/runtime/parrot/library/pcre.pir Fri Jul 31 23:34:00 2009 (r40353)
+++ trunk/runtime/parrot/library/pcre.pir Sat Aug 1 00:15:11 2009 (r40354)
@@ -59,9 +59,19 @@
if 'cygwin' == osname goto LIB_CYGWIN
LIB_DEFAULT:
+# Plain name
loadlib libpcre, 'libpcre'
loaded = defined libpcre
if loaded goto LIB_LOADED
+# Shared object name
+ loadlib libpcre, 'libpcre.so'
+ loaded = defined libpcre
+ if loaded goto LIB_LOADED
+# soname of recent version
+ loadlib libpcre, 'libpcre.so.3'
+ loaded = defined libpcre
+ if loaded goto LIB_LOADED
+
branch LIB_FAILED
LIB_WIN32:
More information about the parrot-commits
mailing list