Skip to content

Commit ec874b9

Browse files
committed
makesetup: make sure to link the built libpython
dependency libs might add system search paths first, so make sure we link to libpython before that. Otherwise we link to the system libpython if it already exists.
1 parent 3cadc01 commit ec874b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/makesetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
276276
;;
277277
esac
278278
rule="$file: $objs \$(MODULE_${mods_upper}_LDEPS)"
279-
rule="$rule; $ccld $objs $libs \$(BLDLIBRARY) -o $file"
279+
rule="$rule; $ccld $objs \$(BLDLIBRARY) $libs -o $file"
280280
echo "$rule" >>$rulesf
281281
done
282282
done

0 commit comments

Comments
 (0)