Fix TRICK_VER in make_makefile_swig

Fixes #824
This commit is contained in:
Derek Bankieris 2019-06-19 13:32:52 -05:00
parent b23b19195b
commit 6bb061738e

View File

@ -26,8 +26,8 @@ my %python_modules ;
my %python_module_dirs ;
sub read_files_to_process() {
my $version, my $thread = get_trick_version() ;
my $year = $version =~ /^(\d+)/ ;
(my $version, my $thread) = get_trick_version() ;
(my $year) = $version =~ /^(\d+)/ ;
(my $cc = gte("TRICK_CC")) =~ s/\n// ;
# Prepend -I to each include path before we pass them to the compiler