Skip to content

Commit

Permalink
fix: Fix libiconv build for windows packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Dec 16, 2024
1 parent e9ceb2a commit 01ceeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/windows/packaging/ToolchainBuildJob.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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";/', '<src>/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";/', '<src>/srclib/relocatable.c'],
],
configure_opts => [
'--host=x86_64-w64-mingw32', '--build=x86_64-w64-mingw32', '--srcdir=<src>', '--prefix=<prefix>',
Expand Down

0 comments on commit 01ceeb3

Please sign in to comment.