Panu Matilainen cbac7f
diff --git a/macros.in b/macros.in
Panu Matilainen cbac7f
index 830072a..bdce7f4 100644
Panu Matilainen cbac7f
--- a/macros.in
Panu Matilainen cbac7f
+++ b/macros.in
Panu Matilainen cbac7f
@@ -805,6 +805,8 @@ print (t)\
Panu Matilainen cbac7f
   export RPM_BUILD_ROOT}\
Panu Matilainen cbac7f
   %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
Panu Matilainen cbac7f
   export CLASSPATH}\
Panu Matilainen cbac7f
+  PKG_CONFIG_PATH=\"%{_libdir}/pkgconfig:%{_datadir}/pkgconfig\"\
Panu Matilainen cbac7f
+  export PKG_CONFIG_PATH\
Panu Matilainen cbac7f
   \
Panu Matilainen cbac7f
   %{verbose:set -x}%{!verbose:exec > /dev/null}\
Panu Matilainen cbac7f
   umask 022\