--- app/Makefile.am.orig 2013-12-01 22:41:04.895245322 +0100 +++ app/Makefile.am 2013-12-01 22:42:59.623139718 +0100 @@ -120,29 +120,29 @@ # FIXME: core should not depend on xcf workaround_that_core_depends_on_xcf = \ - -u $(SYMPREFIX)xcf_init + -Wl,-u,$(SYMPREFIX)xcf_init # FIXME: core should not depend on pdb workaround_that_core_depends_on_pdb = \ - -u $(SYMPREFIX)internal_procs_init \ - -u $(SYMPREFIX)gimp_plug_in_manager_restore + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore # FIXME: plug-in should not depend on pdb workaround_that_plug_in_depends_on_pdb = \ - -u $(SYMPREFIX)gimp_pdb_compat_param_spec + -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_param_spec # FIXME: file should not depend on plug-in workaround_that_file_depends_on_plug_in = \ - -u $(SYMPREFIX)plug_in_icc_profile_apply_rgb \ - -u $(SYMPREFIX)gimp_image_map_config_get_type + -Wl,-u,$(SYMPREFIX)plug_in_icc_profile_apply_rgb \ + -Wl,-u,$(SYMPREFIX)gimp_image_map_config_get_type # core, vectors and gegl are on the same architectural layer, prevent # the linker from panicing calm_down_linker = \ - -u $(SYMPREFIX)gimp_vectors_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_prop_undo_get_type \ - -u $(SYMPREFIX)gimp_curve_map_pixels + -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_curve_map_pixels AM_LDFLAGS = \ $(munix) \ --- app/Makefile.in.orig 2013-12-01 22:40:53.377634046 +0100 +++ app/Makefile.in 2013-12-01 22:43:43.764645061 +0100 @@ -702,33 +702,33 @@ # FIXME: core should not depend on xcf workaround_that_core_depends_on_xcf = \ - -u $(SYMPREFIX)xcf_init + -Wl,-u,$(SYMPREFIX)xcf_init # FIXME: core should not depend on pdb workaround_that_core_depends_on_pdb = \ - -u $(SYMPREFIX)internal_procs_init \ - -u $(SYMPREFIX)gimp_plug_in_manager_restore + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore # FIXME: plug-in should not depend on pdb workaround_that_plug_in_depends_on_pdb = \ - -u $(SYMPREFIX)gimp_pdb_compat_param_spec + -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_param_spec # FIXME: file should not depend on plug-in workaround_that_file_depends_on_plug_in = \ - -u $(SYMPREFIX)plug_in_icc_profile_apply_rgb \ - -u $(SYMPREFIX)gimp_image_map_config_get_type + -Wl,-u,$(SYMPREFIX)plug_in_icc_profile_apply_rgb \ + -Wl,-u,$(SYMPREFIX)gimp_image_map_config_get_type # core, vectors and gegl are on the same architectural layer, prevent # the linker from panicing calm_down_linker = \ - -u $(SYMPREFIX)gimp_vectors_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_prop_undo_get_type \ - -u $(SYMPREFIX)gimp_curve_map_pixels + -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_curve_map_pixels AM_LDFLAGS = \ $(munix) \ --- app/tests/Makefile.am.orig 2013-12-01 22:44:47.127514880 +0100 +++ app/tests/Makefile.am 2013-12-01 22:45:53.339772895 +0100 @@ -63,22 +63,22 @@ # We need this due to circular dependencies, see more detailed # comments about it in app/Makefile.am AM_LDFLAGS = \ - -u $(SYMPREFIX)xcf_init \ - -u $(SYMPREFIX)base_init \ - -u $(SYMPREFIX)internal_procs_init \ - -u $(SYMPREFIX)gimp_plug_in_manager_restore \ - -u $(SYMPREFIX)gimp_pdb_compat_param_spec \ - -u $(SYMPREFIX)gui_init \ - -u $(SYMPREFIX)plug_in_icc_profile_apply_rgb \ - -u $(SYMPREFIX)gimp_image_map_config_get_type \ - -u $(SYMPREFIX)gimp_vectors_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_prop_undo_get_type \ - -u $(SYMPREFIX)actions_init \ - -u $(SYMPREFIX)gimp_error_dialog_new \ - -u $(SYMPREFIX)menus_save \ - -u $(SYMPREFIX)gimp_tools_save \ - -u $(SYMPREFIX)gimp_curve_map_pixels + -Wl,-u,$(SYMPREFIX)xcf_init \ + -Wl,-u,$(SYMPREFIX)base_init \ + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ + -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_param_spec \ + -Wl,-u,$(SYMPREFIX)gui_init \ + -Wl,-u,$(SYMPREFIX)plug_in_icc_profile_apply_rgb \ + -Wl,-u,$(SYMPREFIX)gimp_image_map_config_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type \ + -Wl,-u,$(SYMPREFIX)actions_init \ + -Wl,-u,$(SYMPREFIX)gimp_error_dialog_new \ + -Wl,-u,$(SYMPREFIX)menus_save \ + -Wl,-u,$(SYMPREFIX)gimp_tools_save \ + -Wl,-u,$(SYMPREFIX)gimp_curve_map_pixels # Note that we have some duplicate entries here too to work around # circular dependencies and systems on the same architectural layer as --- app/tests/Makefile.in.orig 2013-12-01 22:44:57.464550991 +0100 +++ app/tests/Makefile.in 2013-12-01 22:45:28.551696368 +0100 @@ -1221,22 +1221,22 @@ # We need this due to circular dependencies, see more detailed # comments about it in app/Makefile.am AM_LDFLAGS = \ - -u $(SYMPREFIX)xcf_init \ - -u $(SYMPREFIX)base_init \ - -u $(SYMPREFIX)internal_procs_init \ - -u $(SYMPREFIX)gimp_plug_in_manager_restore \ - -u $(SYMPREFIX)gimp_pdb_compat_param_spec \ - -u $(SYMPREFIX)gui_init \ - -u $(SYMPREFIX)plug_in_icc_profile_apply_rgb \ - -u $(SYMPREFIX)gimp_image_map_config_get_type \ - -u $(SYMPREFIX)gimp_vectors_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -u $(SYMPREFIX)gimp_vectors_prop_undo_get_type \ - -u $(SYMPREFIX)actions_init \ - -u $(SYMPREFIX)gimp_error_dialog_new \ - -u $(SYMPREFIX)menus_save \ - -u $(SYMPREFIX)gimp_tools_save \ - -u $(SYMPREFIX)gimp_curve_map_pixels + -Wl,-u,$(SYMPREFIX)xcf_init \ + -Wl,-u,$(SYMPREFIX)base_init \ + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ + -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_param_spec \ + -Wl,-u,$(SYMPREFIX)gui_init \ + -Wl,-u,$(SYMPREFIX)plug_in_icc_profile_apply_rgb \ + -Wl,-u,$(SYMPREFIX)gimp_image_map_config_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type \ + -Wl,-u,$(SYMPREFIX)actions_init \ + -Wl,-u,$(SYMPREFIX)gimp_error_dialog_new \ + -Wl,-u,$(SYMPREFIX)menus_save \ + -Wl,-u,$(SYMPREFIX)gimp_tools_save \ + -Wl,-u,$(SYMPREFIX)gimp_curve_map_pixels # Note that we have some duplicate entries here too to work around --- devel-docs/app/Makefile.am.orig 2013-12-01 22:46:22.005738696 +0100 +++ devel-docs/app/Makefile.am 2013-12-01 22:47:13.366761323 +0100 @@ -62,10 +62,10 @@ -UGTK_DISABLE_SINGLE_INCLUDES GTKDOC_LIBS = \ - -u $(SYMPREFIX)xcf_init \ - -u $(SYMPREFIX)internal_procs_init \ - -u $(SYMPREFIX)gimp_coords_mix \ - -u $(SYMPREFIX)gimp_plug_in_manager_restore \ + -Wl,-u,$(SYMPREFIX)xcf_init \ + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_coords_mix \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ $(top_builddir)/app/app.o \ $(top_builddir)/app/batch.o \ $(top_builddir)/app/errors.o \ --- devel-docs/app/Makefile.in.orig 2013-12-01 22:46:33.307244687 +0100 +++ devel-docs/app/Makefile.in 2013-12-01 22:47:35.753668022 +0100 @@ -511,10 +511,10 @@ -UGTK_DISABLE_SINGLE_INCLUDES GTKDOC_LIBS = \ - -u $(SYMPREFIX)xcf_init \ - -u $(SYMPREFIX)internal_procs_init \ - -u $(SYMPREFIX)gimp_coords_mix \ - -u $(SYMPREFIX)gimp_plug_in_manager_restore \ + -Wl,-u,$(SYMPREFIX)xcf_init \ + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_coords_mix \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ $(top_builddir)/app/app.o \ $(top_builddir)/app/batch.o \ $(top_builddir)/app/errors.o \