Skip to content

Commit

Permalink
deps.macos: remove unnecessary fixup for Windows target
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyvct committed Nov 25, 2022
1 parent 227ad51 commit 82f0513
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions deps.macos/50-libpng.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,3 @@ install() {
cd "${dir}"
progress cmake ${args}
}

fixup() {
cd "${dir}"

if [[ ${target} == "windows-x"* ]] {
log_info "Fixup (%F{3}${target}%f)"
if (( shared_libs )) {
autoload -Uz create_importlibs
create_importlibs ${target_config[output_dir]}/bin/libpng*.dll(:a)
}

rm ${target_config[output_dir]}/bin/(libpng*-config|png*fix*)(N)
}
}

0 comments on commit 82f0513

Please sign in to comment.