sysui/CustomTarget_share.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit caddaaa6afd2709f72dfb6160a485d405ac03966
Author:     Rico Tzschichholz <[email protected]>
AuthorDate: Tue Jul 11 20:21:15 2023 +0200
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sun Jul 23 15:10:47 2023 +0200

    Only pass -I... arguments to g-ir-scanner by using pkg-config's 
--cflags-only-I
    
    Otherwise it is possible that e.g. -Wl,--export-dynamic is passed which is 
fatal.
    
    Change-Id: I1735641e3149c86456e1164b67509a719e09d446
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154340
    Reviewed-by: René Engelhard <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sysui/CustomTarget_share.mk b/sysui/CustomTarget_share.mk
index b86521a3a80f..912048b2ad66 100644
--- a/sysui/CustomTarget_share.mk
+++ b/sysui/CustomTarget_share.mk
@@ -167,7 +167,7 @@ $(share_WORKDIR)/%/LOKDocView-0.1.gir: \
        mkdir -p $(dir $@)
        PYTHONWARNINGS=default g-ir-scanner 
"${SRCDIR}/include/LibreOfficeKit/LibreOfficeKitGtk.h" \
                                 
"${SRCDIR}/libreofficekit/source/gtk/lokdocview.cxx" \
-                 `${PKG_CONFIG} --cflags gobject-introspection-1.0 gtk+-3.0` \
+                 `${PKG_CONFIG} --cflags-only-I gobject-introspection-1.0 
gtk+-3.0` \
                                 -I"${SRCDIR}/include/" \
                  --include=GLib-2.0 --include=GObject-2.0 --include=Gio-2.0 \
                  --library=libreofficekitgtk 
--library-path="${INSTDIR}/program" \

Reply via email to