b47504fcb9
thanks OBS-URL: https://build.opensuse.org/request/show/67399 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=53
21 lines
510 B
Diff
21 lines
510 B
Diff
--- g-s/src/main.c
|
|
+++ g-s/src/main.c
|
|
@@ -458,3 +458,17 @@ main (int argc, char **argv)
|
|
|
|
return meta_run ();
|
|
}
|
|
+
|
|
+#if HAVE_BLUETOOTH
|
|
+/* HACK:
|
|
+ Add a non-static function that calls into libgnome-bluetooth-applet.so,
|
|
+ to avoid the linker being too smart and removing the dependency.
|
|
+ This function is never actually called.
|
|
+*/
|
|
+extern GType bluetooth_applet_get_type(void);
|
|
+void _shell_link_to_bluetooth(void);
|
|
+
|
|
+void _shell_link_to_bluetooth(void) {
|
|
+ bluetooth_applet_get_type();
|
|
+}
|
|
+#endif
|