Skip to content

Commit 8f3946a

Browse files
committed
Adjust makesetup
1 parent 688968d commit 8f3946a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/makesetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
282282
# there's actually only one obj, so just set it to the lib
283283
for lib in $libs
284284
do
285-
objs="target/\$(CARGO_TARGET_DIR)/$lib"
285+
objs="target/\$(if \$(CARGO_TARGET),\$(CARGO_TARGET)/\$(CARGO_TARGET_DIR),\$(CARGO_TARGET_DIR))/$lib"
286286
done
287287
libs=
288288
# depends on the headers through cpython-sys

0 commit comments

Comments
 (0)