Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Don't put LDFLAGS into the Libs.private, all it generally contains is a linker |
| 2 | hash selection (harmless) and the absolute path to the libdir in the sysroot |
| 3 | (actively harmful). |
| 4 | |
| 5 | Upstream-Status: Pending |
| 6 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
| 7 | |
| 8 | diff --git a/scripts/rpm.pc.in b/scripts/rpm.pc.in |
| 9 | index 8293471..2ea469c 100644 |
| 10 | --- a/scripts/rpm.pc.in |
| 11 | +++ b/scripts/rpm.pc.in |
| 12 | @@ -17 +17 @@ Libs: -L${libdir} -lrpmbuild${suffix} -lrpm${suffix} -lrpmdb${suffix} -lrpmio${s |
| 13 | -Libs.private: @LDFLAGS@ @LIBS@ |
| 14 | +Libs.private: @LIBS@ |