diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl
index f8d7609ee3..c95da630f5 100644
--- a/build/bakefiles/config.bkl
+++ b/build/bakefiles/config.bkl
@@ -230,6 +230,7 @@ to run the tests, include CppUnit library here.
+
@@ -280,6 +281,7 @@ it if SHARED=1 unless you know what you are doing.
-lopengl32 -lglu32
+
0
diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl
index 71fd12260c..a0f53679f3 100644
--- a/build/bakefiles/files.bkl
+++ b/build/bakefiles/files.bkl
@@ -2511,6 +2511,10 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/unix/sound_sdl.cpp
+
+ src/gtk/gnome/gprint.cpp
+
+
@@ -2713,6 +2717,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(UNIX_SOUND_SRC_SDL)
+ $(GTK_PRINT_SRC_GNOME)
diff --git a/build/bakefiles/plugins_deps.bkl b/build/bakefiles/plugins_deps.bkl
index f4a2dff09d..ef88b852d4 100644
--- a/build/bakefiles/plugins_deps.bkl
+++ b/build/bakefiles/plugins_deps.bkl
@@ -10,6 +10,7 @@
$(EXTRALIBS_SDL)
+ $(EXTRALIBS_GNOMEPRINT)