Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle @inc without . in it for PDL build
Thanks to Todd Rinaldo for the patch.
  • Loading branch information
devel-chm committed Feb 4, 2017
1 parent d7d6cdb commit d8df2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.PL
Expand Up @@ -226,7 +226,7 @@ sub check_f77conf {

sub make_Version_pm {
# Get Version from Basic/PDL.pm and generated Basic/Core/Version.pm from it
require 'Basic/PDL.pm';
require './Basic/PDL.pm';
# keep version info in $PDL::Config
$PDL::Config{PDL_BUILD_VERSION} = "$PDL::VERSION";

Expand Down Expand Up @@ -376,7 +376,7 @@ make_Types_pm();
# this will make PDL::Core::Dev's functions available
# in Makefile.PL files in all subdirectories
# IMPORTANT: it has to be after make_Types_pm()
require "Basic/Core/Dev.pm"; PDL::Core::Dev->import();
require "./Basic/Core/Dev.pm"; PDL::Core::Dev->import();

# only perform one test if required modules are missing
# the test will print an informational message and fail
Expand Down

0 comments on commit d8df2ed

Please sign in to comment.