Unfortunately, this patch doesn't work when libnih is built with --exec-prefix= (the recommended way), it ends up with the pkgconfig data going into /lib/pkgconfig instead; which is why the rule uses ${prefix}/lib like that
Could you redo the patch so that it uses either ${prefix}/lib/pkgconfig or ${prefix}/lib64/pkgconfig - I guess you'll need something in configure.ac to determine which and set an Automake conditional
Unfortunately, this patch doesn't work when libnih is built with --exec-prefix= (the recommended way), it ends up with the pkgconfig data going into /lib/pkgconfig instead; which is why the rule uses ${prefix}/lib like that
Could you redo the patch so that it uses either ${prefix} /lib/pkgconfig or ${prefix} /lib64/ pkgconfig - I guess you'll need something in configure.ac to determine which and set an Automake conditional