Commit 55aca4d2 authored by Niklas Haas's avatar Niklas Haas

meson.build: improve pkgconfig usage

Instead of manually generating the string, we can just pass the
shared_library object here and it will automatically generate the right
-L and -l flags.
parent ec6e5260
......@@ -57,7 +57,7 @@ sources = [
'ta/talloc.c',
]
shared_library('placebo', sources,
lib = shared_library('placebo', sources,
install: true,
dependencies: deps,
soversion: apiver,
......@@ -78,6 +78,6 @@ pkg = import('pkgconfig')
pkg.generate(
name: meson.project_name(),
description: 'Reusable library for GPU-accelerated video/image rendering',
libraries: '-lplacebo',
libraries: lib,
version: version,
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment