https://gitlab.com/compiz/compiz-core/merge_requests/150

commit 319d48c8cba9eb3734846e42590ee3e2f822549b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Sep 7 16:21:44 2019 +0200

    libdecoration.pc.in: Avoid spurious application link
    
    Making the application explicitly link against libX11 and libXrender is
    useless since libdecoration.so will already be pulling them. The only
    case where it would be needed is static linking, which will use the
    Libs.private field.

diff --git a/libdecoration/libdecoration.pc.in b/libdecoration/libdecoration.pc.in
index 239dc72a..3fe231b4 100644
--- a/libdecoration/libdecoration.pc.in
+++ b/libdecoration/libdecoration.pc.in
@@ -8,5 +8,6 @@ Description: Window decoration library
 Version: @VERSION@
 
 Requires: @DECORATION_REQUIRES@
-Libs: @DECORATION_LIBS@ -L${libdir} -ldecoration
+Libs: -L${libdir} -ldecoration
+Libs.private: @DECORATION_LIBS@
 Cflags: @DECORATION_CFLAGS@ -I${includedir}/compiz
