File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,10 @@ def gcv(v):
153
153
return 'yes'
154
154
155
155
sysconfig .get_config_var = gcv
156
- assert self .cc .rpath_foo () == '-Wl,--enable-new-dtags,-R/foo'
156
+ assert self .cc .rpath_foo () == [
157
+ '-Wl,--enable-new-dtags' ,
158
+ '-Wl,-rpath,/foo' ,
159
+ ]
157
160
158
161
def gcv (v ):
159
162
if v == 'CC' :
@@ -162,7 +165,10 @@ def gcv(v):
162
165
return 'yes'
163
166
164
167
sysconfig .get_config_var = gcv
165
- assert self .cc .rpath_foo () == '-Wl,--enable-new-dtags,-R/foo'
168
+ assert self .cc .rpath_foo () == [
169
+ '-Wl,--enable-new-dtags' ,
170
+ '-Wl,-rpath,/foo' ,
171
+ ]
166
172
167
173
# GCC non-GNULD
168
174
sys .platform = 'bar'
@@ -202,7 +208,10 @@ def gcv(v):
202
208
return 'yes'
203
209
204
210
sysconfig .get_config_var = gcv
205
- assert self .cc .rpath_foo () == '-Wl,--enable-new-dtags,-R/foo'
211
+ assert self .cc .rpath_foo () == [
212
+ '-Wl,--enable-new-dtags' ,
213
+ '-Wl,-rpath,/foo' ,
214
+ ]
206
215
207
216
# non-GCC non-GNULD
208
217
sys .platform = 'bar'
You can’t perform that action at this time.
0 commit comments