Fri, 29 Nov 2024 22:21:36 +0100
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>