Ticket #55757: patch-src-Makefile.PL.diff
File patch-src-Makefile.PL.diff, 626 bytes (added by dsteck, 7 years ago) |
---|
-
Makefile.PL
old new 17 17 18 18 EOF 19 19 20 my $DEFINE .= " -DPREFER_1_1=" . (0 + (prompt ("Prefer OpenCL 1.1 over 1.2 functions (y/n)?", "y") =~ /[yY]/));20 #my $DEFINE .= " -DPREFER_1_1=" . (0 + (prompt ("Prefer OpenCL 1.1 over 1.2 functions (y/n)?", "y") =~ /[yY]/)); 21 21 22 22 WriteMakefile( 23 23 dist => { … … 32 32 DEFINE => $DEFINE, 33 33 NAME => "OpenCL", 34 34 VERSION_FROM => "OpenCL.pm", 35 LIBS => ["-lOpenCL -lpthread"], 35 LIBS => ["-lpthread"], 36 dynamic_lib => { OTHERLDFLAGS => "-framework OpenCL" } 36 37 ); 37 38