Skip to content

Commit e2b34e2

Browse files
committed
Fix
1 parent 30f2626 commit e2b34e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

config/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ elif lapack_vendor == 'custom'
114114
'If this is not intended, please specify custom libraries using the "-Dcustom_libraries" option.'
115115
)
116116
elif libs[0].startswith('-L')
117+
libdir = libs[0].substring(2)
117118
foreach lib: libs
118119
if lib != libs[0]
119-
custom_deps += cc.find_library(lib, dirs: libs[0].substring(2))
120+
custom_deps += cc.find_library(lib, dirs: libdir)
120121
endif
121122
endforeach
122123
else

0 commit comments

Comments
 (0)