fix gtk4 dependency

Fri, 29 Nov 2024 22:21:36 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 29 Nov 2024 22:21:36 +0100
changeset 99
b9767cb5b06b
parent 98
16e84fac48bd
child 100
d2bd73d28ff1

fix gtk4 dependency

configure file | annotate | diff | comparison | revisions
make/project.xml file | annotate | diff | comparison | revisions
--- a/configure	Fri Nov 29 22:11:07 2024 +0100
+++ b/configure	Fri Nov 29 22:21:36 2024 +0100
@@ -428,9 +428,9 @@
         if [ -z "$PKG_CONFIG" ]; then
             break
         fi
-        if test_pkg_config "gtk+-4.0" "" "" "" ; then
-            TEMP_CFLAGS="$TEMP_CFLAGS `"$PKG_CONFIG" --cflags gtk+-4.0`"
-            TEMP_LDFLAGS="$TEMP_LDFLAGS `"$PKG_CONFIG" --libs gtk+-4.0`"
+        if test_pkg_config "gtk4" "" "" "" ; then
+            TEMP_CFLAGS="$TEMP_CFLAGS `"$PKG_CONFIG" --cflags gtk4`"
+            TEMP_LDFLAGS="$TEMP_LDFLAGS `"$PKG_CONFIG" --libs gtk4`"
         else
             break
         fi
--- a/make/project.xml	Fri Nov 29 22:11:07 2024 +0100
+++ b/make/project.xml	Fri Nov 29 22:21:36 2024 +0100
@@ -51,7 +51,7 @@
 		<ldflags>-lpthread</ldflags>
 	</dependency>
 	<dependency name="gtk4">
-		<pkgconfig>gtk+-4.0</pkgconfig>
+		<pkgconfig>gtk4</pkgconfig>
 		<cflags>-DUI_GTK3</cflags>
 		<ldflags>-lpthread</ldflags>
 	</dependency>

mercurial