Author: bernhard
Date: Wed Oct 19 13:31:40 2005
New Revision: 9516

Modified:
   trunk/runtime/parrot/library/pcre.imc
Log:
Tell pcre.imc about library name on cygwin.

Thanks to Nick Glencross [perl #37483]


Modified: trunk/runtime/parrot/library/pcre.imc
==============================================================================
--- trunk/runtime/parrot/library/pcre.imc       (original)
+++ trunk/runtime/parrot/library/pcre.imc       Wed Oct 19 13:31:40 2005
@@ -52,6 +52,7 @@ and is additionally stored as global 'PC
     osname = config['osname']
 
     if 'MSWin32' == osname goto LIB_WIN32
+    if 'cygwin'  == osname goto LIB_CYGWIN
 
 LIB_DEFAULT:
     loadlib libpcre, 'libpcre'
@@ -59,6 +60,10 @@ LIB_DEFAULT:
 
 LIB_WIN32:
     loadlib libpcre, 'pcre'
+    branch LIB_LOADED
+
+LIB_CYGWIN:
+    loadlib libpcre, 'cygpcre-0'
 
 LIB_LOADED:
     store_global 'PCRE', 'lib', libpcre

Reply via email to