blob: 74c04d55f76d7bb7f601b0acf807e6f18f71870a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/scripts/custom.sh
+++ b/scripts/custom.sh
@@ -18,10 +18,10 @@
add_feature dependency "disable dependency tracking" disabled
add_var glib_cflags "glib cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags glib-2.0`'
-add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0`'
+add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0 x11`'
add_var glib_libs "glib libs" '`RFS=$rfs scripts/rfs-pkg-config --libs glib-2.0`'
-add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0`'
+add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0 x11` -lm'
add_var cflagsx "C flags" '-I$topdir/panel $glib_cflags $gtk_cflags -fPIC'
add_var ldflagsx "linker flags" '$glib_libs $gtk_libs'
|