Nick Glencross (via RT) wrote:
More low hanging fruit.
This patch provides pcre.imc with the correct DLL name for libpcre,
enabling the pcre.t tests to pass.
Note: This patch has #37481 as a prerequisite to provide the correct osname.
I'm pretty sure that I attached the patch, but anyway, here's another go.
Cheers,
Nick
Index: runtime/parrot/library/pcre.imc
===================================================================
--- runtime/parrot/library/pcre.imc (revision 9515)
+++ runtime/parrot/library/pcre.imc (working copy)
@@ -52,6 +52,7 @@
osname = config['osname']
if 'MSWin32' == osname goto LIB_WIN32
+ if 'cygwin' == osname goto LIB_CYGWIN
LIB_DEFAULT:
loadlib libpcre, 'libpcre'
@@ -59,7 +60,11 @@
LIB_WIN32:
loadlib libpcre, 'pcre'
+ branch LIB_LOADED
+LIB_CYGWIN:
+ loadlib libpcre, 'cygpcre-0'
+
LIB_LOADED:
store_global 'PCRE', 'lib', libpcre