1. Wez Furlong
  2. gimli

Commits

Wez Furlong  committed b815ec5

export symbols from glider

Some of the V3 APIs need to be exported. This is a bit of a messy area at the
moment.

  • Participants
  • Parent commits dbff67a
  • Branches default

Comments (0)

Files changed (1)

File configure.ac

View file
 case $host in
   *darwin*)
     LDFLAGS="-lpthread"
-    CORONER_LDFLAGS="-framework Security -framework CoreFoundation -sectcreate __TEXT __info_plist glider.plist"
+    CORONER_LDFLAGS="-framework Security -framework CoreFoundation -sectcreate __TEXT __info_plist glider.plist -export_dynamic"
     MODULE_SUFFIX=".bundle"
     SHLIB_SUFFIX=".dylib"
     RLDPATH="-R"
     DARWIN_DSYMUTIL="dsymutil -o .libs/wedgie.dSYM .libs/wedgie ; dsymutil -o .libs/libgimli.0.dylib.dSYM .libs/libgimli.0.dylib"
     ;;
   *linux*)
-    CORONER_LDFLAGS="-lthread_db -lpthread"
+    CORONER_LDFLAGS="-lthread_db -lpthread -Wl,--export-dynamic"
     RLDPATH="-Wl,-rpath="
     ;;
   *freebsd*)
-    CORONER_LDFLAGS="-lthread_db -lpthread"
+    CORONER_LDFLAGS="-lthread_db -lpthread -Wl,--export-dynamic"
     RLDPATH="-Wl,-rpath="
     ;;
   *solaris*)