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  
    1717
    1818EOF
    1919
    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]/));
    2121
    2222WriteMakefile(
    2323    dist        => {
     
    3232    DEFINE => $DEFINE,
    3333    NAME => "OpenCL",
    3434    VERSION_FROM => "OpenCL.pm",
    35     LIBS => ["-lOpenCL -lpthread"],
     35    LIBS => ["-lpthread"],
     36    dynamic_lib => { OTHERLDFLAGS => "-framework OpenCL" }
    3637);
    3738