CONFIGURE: Fix AmigaOS4 builds with dynamic plugins.

These previously caused crashes due to missing symbols in the dynamic
symbol table.
This commit is contained in:
raziel- 2014-02-23 22:24:47 +02:00 committed by D G Turner
parent 554a1abae1
commit b7f8c11274

2
configure vendored
View File

@ -2053,7 +2053,7 @@ echo_n "Checking hosttype... "
echo $_host_os
case $_host_os in
amigaos*)
LDFLAGS="$LDFLAGS -use-dynld"
LDFLAGS="$LDFLAGS -use-dynld -Wl,--export-dynamic"
LDFLAGS="$LDFLAGS -L/sdk/local/newlib/lib"
# We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32
# as (unsigned) long, and consequently we'd get a compiler error otherwise.