File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ environmentDarwin : {
6666 PATH : "/usr/local/bin:$JAVA_HOME/bin:$PATH"
6767 F77 : "/usr/local/bin/gfortran-4.9"
6868 TZDIR : "/usr/share/zoneinfo"
69+ FASTR_LIBZ_VER : "1.2.11"
6970 }
7071}
7172
Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ def copylib(args):
111111 parts = os .environ ['PKG_LDFLAGS_OVERRIDE' ].split (' ' )
112112 ext = 'dylib' if platform .system () == 'Darwin' else 'so'
113113 lib_prefix = 'lib' + args [0 ] + '.'
114+ ver_env_key = 'FASTR_LIB' + args [0 ].upper () + '_VER'
115+ if os .environ .has_key (ver_env_key ):
116+ lib_prefix += os .environ [ver_env_key ] + '.'
114117 plain_libpath_base = lib_prefix + ext
115118 for part in parts :
116119 path = part .strip ('"' ).lstrip ('-L' )
You can’t perform that action at this time.
0 commit comments