fix for shared library build under SGI with native compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2228,9 +2228,10 @@ if test "$wxUSE_SHARED" = "yes"; then
|
||||
fi
|
||||
|
||||
dnl the extra compiler flags needed for compilation of shared library
|
||||
dnl sources, the default is understood by many compilers but not all - for
|
||||
dnl them we set it specially below
|
||||
if test "$GCC" = "yes"; then
|
||||
dnl the switch for gcc is the same under all platforms
|
||||
PIC_FLAG="-fPIC"
|
||||
fi
|
||||
|
||||
dnl the command to use for creating the shared library
|
||||
SHARED_LD="${CXX} -shared -o"
|
||||
|
Reference in New Issue
Block a user