Patch for JNI modules Makefile.PL
[email protected] (Jens Thomsen) Mon, 17 Jul 2000 16:37:49 -0600 (MDT)
| Newsgroups | perl.jpl,perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
I found a problem in the Makefile.PL in the jpl/JNI directory of the perl
source tree and this should patch it. The problem was that it would find
the green_thread directory before native threads on linux.
98c98
< CCFLAGS => "$Config{ccflags} $CCFLAGS -O2",
---
> CCFLAGS => "$Config{ccflags} $CCFLAGS",
121,122c121,123
< if (/$name$/ and ! /green_threads/ and !/include-old/) {
< $lib = $File::Find::name;
---
> $pos = $File::Find::name;
> if (/$name$/ && $pos !~ /green_threads/ && $pos !~ /include-old/) {
> $lib = $pos;
P.S. This is my first patch I have submitted so if it is not in the right
format let me know how to format it correctly.