ref: aa2a9914430b939b3d9c4533f6c505adf7b5b388
parent: df8151865b99cc7fdfc5236bd76740aa3b5d1dca
parent: 0c0199b994fd394cb0580254f2417b39935de3ba
author: guangwei <GuangweiWang@users.noreply.github.com>
date: Mon Feb 17 04:50:10 EST 2020
Merge pull request #3230 from CapOM/meson_libdir_option meson: fix libdir in openh264.pc.in
--- a/meson.build
+++ b/meson.build
@@ -125,6 +125,7 @@
foreach t : ['', '-static']
pkgconf = configuration_data()
pkgconf.set('prefix', join_paths(get_option('prefix')))
+ pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
pkgconf.set('VERSION', meson.project_version())
if t == '-static'
do_install = false
--- a/openh264.pc.in
+++ b/openh264.pc.in
@@ -1,5 +1,5 @@
prefix=@prefix@
-libdir=${prefix}/lib
+libdir=@libdir@
includedir=${prefix}/include
Name: OpenH264