Skip to content

Commit 606c162

Browse files
committed
typo
1 parent 73fd7d6 commit 606c162

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

regex/lib.ijs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ NB. pcre2 library is in bin or tools/regex
1515
3 : 0''
1616
select. UNAME
1717
case. 'Android' do. pcre2dll=: 'libjpcre2.so' return.
18-
case. 'Darwin' do. t0=. 'libpcre2' [ ext=. '.dylib' [ arch=. ''
19-
case. 'Win' do. t0=. 'pcre2' [ ext=. '.dll' [ arch=. ((-.IF64)#<'-32'),(('arm64'-:9!:56'cpu')#<'-a64')
18+
case. 'Darwin' do. t0=. 'libjpcre2' [ ext=. '.dylib' [ arch=. ''
19+
case. 'Win' do. t0=. 'jpcre2' [ ext=. '.dll' [ arch=. ((-.IF64)#<'-32'),(('arm64'-:9!:56'cpu')#<'-a64')
2020
case. do.
21-
t0=. 'libpcre2' [ ext=. '.so'
21+
t0=. 'libjpcre2' [ ext=. '.so'
2222
if. IFRASPI do.
2323
arch=. ((-.IF64)#<'-32')
2424
else.
@@ -45,7 +45,7 @@ end.
4545

4646
NB. fall back one more time
4747
if. -.found do.
48-
if. IFUNIX do. f=. unxlib 'pcre2' else. f=. t0,ext end.
48+
if. IFUNIX do. f=. unxlib 'pcre2' else. f=. 'pcre2-8',ext end.
4949
end.
5050

5151
pcre2dll=: f

0 commit comments

Comments
 (0)