aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-09 21:00:00 +0100
committerMattias Andrée <maandree@kth.se>2021-03-09 21:00:00 +0100
commit1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed (patch)
treea7ae504d1878adf978d93cc54c3e5390e218d6f1 /Makefile
parentAdd pkg-config and librarian files (diff)
downloadlibgamma-1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed.tar.gz
libgamma-1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed.tar.bz2
libgamma-1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed.tar.xz
Add PKGCONFIG_FLAGS to Makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 161893f..6e81556 100644
--- a/Makefile
+++ b/Makefile
@@ -188,7 +188,7 @@ libgamma.pc: config.h Makefile $(METHOD_CONFS)
printf '%s\n'\
'Cflags: -I$${includedir}'\
'Libs: -L$${libdir} -lgamma'\
- "Libs.private: $$(pkg-config --libs $(DEPS_METHODS)) $(LDFLAGS_QUARTZ_GC)"\
+ "Libs.private: $$(pkg-config $(PKGCONFIG_FLAGS) --libs $(DEPS_METHODS)) $(LDFLAGS_QUARTZ_GC)"\
>> $@
libgamma.librarian: config.h Makefile $(METHOD_CONFS)