diff --git a/contrib/windows/packaging/ToolchainBuildJob.pm b/contrib/windows/packaging/ToolchainBuildJob.pm index b3721c05b..424f50af8 100644 --- a/contrib/windows/packaging/ToolchainBuildJob.pm +++ b/contrib/windows/packaging/ToolchainBuildJob.pm @@ -118,8 +118,8 @@ sub toolchain_build_steps { configure_help => 1, patch_libtool => 1, pre_configure => [ - # Fix lib/relocate.c as libtool wrongly format INSTALLDIR - ['sed', '-ri', '-e', 's/^\s*const char \*orig_installdir = INSTALLDIR;/const char *orig_installdir = INSTALLPREFIX "\/lib";/', '/lib/relocatable.c'], + # Fix srclib/relocate.c as libtool wrongly format INSTALLDIR + ['sed', '-ri', '-e', 's/^\s*const char \*orig_installdir = INSTALLDIR;/const char *orig_installdir = INSTALLPREFIX "\/lib";/', '/srclib/relocatable.c'], ], configure_opts => [ '--host=x86_64-w64-mingw32', '--build=x86_64-w64-mingw32', '--srcdir=', '--prefix=',