commit d7d5416
Michael Forney
·
2026-04-17 18:33:49 +0000 UTC
parent 93acf8d
u-config: Set PKG_CONFIG_PREFIX
1 files changed,
+3,
-0
+3,
-0
1@@ -1,6 +1,9 @@
2 cflags{
3 '-std=c99',
4 '-Wall', '-Wpedantic',
5+ string.format([[-D 'PKG_CONFIG_PREFIX="%s"']], config.prefix),
6+ [[-D 'PKG_CONFIG_SYSTEM_INCLUDE_PATH=PKG_CONFIG_PREFIX "/include"']],
7+ [[-D 'PKG_CONFIG_SYSTEM_LIBRARY_PATH=PKG_CONFIG_PREFIX "/lib"']],
8 }
9
10 exe('u-config', {'main_posix.c'})