Skip to content

Commit

Permalink
build(meson): remove explicit pkgconf Libs.private (#239)
Browse files Browse the repository at this point in the history
Meson automatically extracts the required dependencies of the library
passed to `pkg.generate()`, so there's no need to list them explicitly.

This also removes the unneeded `-lz` from `Libs.private` when
`Requires.private` already specifies `zlib`.
  • Loading branch information
Tachi107 committed Nov 22, 2022
1 parent 5050422 commit 6a4ef9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,5 @@ pkg = import('pkgconfig')

pkg.generate(spng_lib,
extra_cflags : spng_args,
libraries_private : [ '-lm', '-lz' ],
description : 'PNG decoding and encoding library'
)

0 comments on commit 6a4ef9f

Please sign in to comment.