[gedit] snap: add C_INCLUDE_PATH to fix build



commit a27a9fb47ae058cfe166fa1244c09b109bb13d68
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sat Feb 2 21:08:53 2019 -0500

    snap: add C_INCLUDE_PATH to fix build

 snap/snapcraft.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index fd1594cb6..e95862a7f 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -108,7 +108,7 @@ parts:
       - --prefix=/snap/gedit/current/usr
       - -Dintrospection=false
     build-environment:
-      - PKG_CONFIG_PATH: $SNAPCRAFT_STAGE/usr/lib/pkgconfig
+      - C_INCLUDE_PATH: $SNAPCRAFT_STAGE/usr/include/gedit-3.14/
     override-build: |
        sed -i.bak -e 's|Icon=org.gnome.gedit$|Icon=${SNAP}/meta/gui/org.gnome.gedit.svg|g' 
data/org.gnome.gedit.desktop.in.in
        snapcraftctl build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]