wxGTK 2.6.2, wx-config output includes -Wl,--export-dynamic

CarstenFuchs at t-online.de CarstenFuchs at t-online.de
Tue Nov 13 02:37:58 PST 2007


Hi all,

using wxGTK 2.6.2, I just noticed that the output of wx-config always
and unconditionally(??) contains the -Wl,--export-dynamic linker
directive. For example:

$ ~/wxGTK-2.6.2/build-gtk_r/wx-config --static --libs std

-L/home/carsten/wxGTK-2.6.2/build-gtk_r/lib -pthread   -L/usr/X11R6/lib 
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_gtk2_xrc-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_gtk2_qa-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_gtk2_html-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_gtk2_adv-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_gtk2_core-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_base_xml-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_base_net-2.6.a
/home/carsten/wxGTK-2.6.2/build-gtk_r/lib/libwx_base-2.6.a
-Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lexpat
-lwxjpeg-2.6 -lwxpng-2.6 -lz -ldl -lm

I've been able to remove the -Wl,--export-dynamic from the output using
sed, but I was curious about why it is output in the first place,
especially when I ran "configure" with --disable-shared ?

Best regards,
Carsten







More information about the wx-users mailing list