Fix autoconf check for set_default_icon_name method (#695279)
The autoconf check for the Gtk::Window::set_default_icon_name() method was failing to detect its availability, but only on Ubuntu >= 11.10. Turns out that the autoconf check incorrectly defined the link libraries via the C++ flags variable CXXFLAGS, rather than the LIBS variable. This resulted in the libraries being specified in the wrong order on the command line. The test only failed when Ubuntu also added the "--as-needed" flag to the linker by default [1] which required the libraries to be correctly specified at the end of the command line. [1] Ubuntu 11.10 Release Notes, GCC 4.6 Toolchain https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes#GCC_4.6_Toolchain This fixes commit: a0421078 Only use Gtk::Window::set_default_icon_name method when available Bug #695279 - GParted doesn't compile on RHEL / CentOS 5.9
parent
9475731a
Please register or sign in to comment