blob: 77fda483f1f17bd8d1c1d935e6730696194cec79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- Makefile.PL.orig 2011-10-23 12:27:21.000000000 +0200
+++ Makefile.PL 2017-06-03 21:50:44.801687000 +0200
@@ -68,13 +68,8 @@
next if ! -f $libfile;
my $include_path = $possible_install_paths{$install_path};
foreach my $c_header(@c_header_files) {
- if (-f "$include_path/$c_header") {
+ if (-f "$include_path/js-1.7/$c_header") {
my $include_dir = "$include_path/$c_header";
- $include_dir =~ s/$c_header$//;
- push @JS_INCL_DIRS, $include_dir;
- }
- foreach my $headerfile(glob "$include_path/*/$c_header") {
- my $include_dir = $headerfile;
$include_dir =~ s/$c_header$//;
push @JS_INCL_DIRS, $include_dir;
}
|