diff --git a/WHATS_NEW b/WHATS_NEW index 6fb2863f0..8862d7823 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.65 - ================================= + Switch usage of Libs.private: to Requires.private: in devmapper.pc, lvm2app.pc. Use field Requires.private: for devmapper-event.pc. Add devmapper library to linked libdevmapper-event.so. Link liblvm2cmd.so with devmapper-event and devmapper libs. diff --git a/libdm/libdevmapper.pc.in b/libdm/libdevmapper.pc.in index 5910583d7..eb7071db2 100644 --- a/libdm/libdevmapper.pc.in +++ b/libdm/libdevmapper.pc.in @@ -8,4 +8,4 @@ Description: device-mapper library Version: @DM_LIB_PATCHLEVEL@ Cflags: -I${includedir} Libs: -L${libdir} -ldevmapper -Libs.private: @SELINUX_LIBS@ @UDEV_LIBS@ +Requires.private: @SELINUX_PC@ @UDEV_PC@ diff --git a/liblvm/liblvm2app.pc.in b/liblvm/liblvm2app.pc.in index 6bf8ecd55..4c71c36e4 100644 --- a/liblvm/liblvm2app.pc.in +++ b/liblvm/liblvm2app.pc.in @@ -8,4 +8,4 @@ Description: lvm2 application library Version: @LVM_MAJOR@.@LVM_LIBAPI@ Cflags: -I${includedir} Libs: -L${libdir} -llvm2app -Libs.private: -ldevmapper +Requires.private: devmapper