nixpkgs/pkgs/development/libraries/audio/roc-toolkit/fix-pkgconfig-installation.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
618 B
Diff
Raw Normal View History

2023-01-03 00:06:44 +00:00
diff --git a/src/SConscript b/src/SConscript
index b59f67a7..9f16e0a2 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -141,7 +141,7 @@ if not GetOption('disable_shared') or GetOption('enable_static') or GetOption('e
desc='Real-time audio streaming over the network.',
url='https://roc-streaming.org',
version=env['ROC_VERSION'])
- env.AddDistFile(env['PKG_CONFIG_PATH'], pc_file)
+ env.AddDistFile(os.path.join(env['ROC_SYSTEM_LIBDIR'], 'pkgconfig'), pc_file)
if GetOption('enable_examples'):
examples_env = subenvs.examples.Clone()