Index: librnd/librnd_test.c =================================================================== --- librnd/librnd_test.c (revision 34333) +++ librnd/librnd_test.c (revision 34334) @@ -22,6 +22,15 @@ rnd_poly_valid(&pa); } +/* workaround for symbols missing out because of the static linking done with + the test app. Won't ever happen to real apps as they don't static link */ +#include +static void (*workaround_fn)(); +static void librd_test_symbol_workaround(void) +{ + workaround_fn = rnd_pixmap_reg_import; +} + int main(int argc, char *argv[]) { int n; @@ -30,6 +39,8 @@ rnd_app.default_embedded_menu = ""; rnd_app.package = "rnd-test"; + librd_test_symbol_workaround(); + rnd_fix_locale_and_env(); rnd_plugin_add_dir("include/usr/lib/librnd3/plugins");