Alien-SWIProlog
view release on metacpan or search on metacpan
# current build not set up to link with libarchive correctly
push @other_cmake_args, '-DSWIPL_PACKAGES_ARCHIVE=OFF';
}
my $is_strawberry = $^O eq 'MSWin32' && $Config{myuname} =~ /^Win32 strawberry-perl/;
if( $is_strawberry ) {
# This helps to find the paths under Strawberry Perl.
my ($zlib_found) = DynaLoader::dl_findfile('-lzlib');
if( $zlib_found ) {
my $zlib_file = Path::Tiny::path($zlib_found);
my $c_lib_dir = $zlib_file->parent;
my $c_dir = $c_lib_dir->parent;
my $c_inc_dir = $c_dir->child('include');
my $arch = 'x86_64-w64-mingw32';
my $arch_lib_dir = $c_dir->child($arch, 'lib' );
my $arch_inc_dir = $c_dir->child($arch, 'include' );
push @CMAKE_LIBRARY_PATH, "$c_lib_dir", "$arch_lib_dir";
push @CMAKE_INCLUDE_PATH, "$c_inc_dir", "$arch_inc_dir";
push @other_cmake_args, "-DMINGW_ROOT=$c_dir";
( run in 0.476 second using v1.01-cache-2.11-cpan-4d50c553e7e )