summaryrefslogtreecommitdiff
path: root/packaging/rpm-4.5.90-pkgconfig-path.patch
blob: 07ce123fc1db085cc49880cd03fc3d7fe14657d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/macros.in b/macros.in
index 830072a..bdce7f4 100644
--- a/macros.in
+++ b/macros.in
@@ -805,6 +805,8 @@ print (t)\
   export RPM_BUILD_ROOT}\
   %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
   export CLASSPATH}\
+  PKG_CONFIG_PATH=\"%{_libdir}/pkgconfig:%{_datadir}/pkgconfig\"\
+  export PKG_CONFIG_PATH\
   \
   %{verbose:set -x}%{!verbose:exec > /dev/null}\
   umask 022\