Skip to content

Commit 9268314

Browse files
isurufinsertinterestingnamehere
authored andcommitted
Fix gensymbol script
1 parent 3ace0fd commit 9268314

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

exports/gensymbol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3411,13 +3411,17 @@
34113411
);
34123412

34133413

3414+
use File::Spec;
3415+
use File::Basename;
3416+
my $dirname = File::Spec->catfile(dirname(dirname(File::Spec->rel2abs(__FILE__))), "lapack-netlib");
3417+
34143418
if ($ARGV[8] == 1) {
34153419
#ONLY_CBLAS=1
34163420
@underscore_objs = (@misc_underscore_objs);
34173421
} elsif ($ARGV[5] == 1) {
34183422
#NO_LAPACK=1
34193423
@underscore_objs = (@blasobjs, @misc_underscore_objs);
3420-
} elsif (-d "../lapack-netlib") {
3424+
} elsif (-d $dirname) {
34213425
if ($ARGV[7] == 0) {
34223426
# NEED2UNDERSCORES=0
34233427
# Don't need 2 underscores

0 commit comments

Comments
 (0)