diff --git a/AMBuildScript b/AMBuildScript index 7c1cdcf..76ec261 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -348,6 +348,8 @@ class MMSConfig(object): linker = make_linker(source_path, output_path) binary.compiler.linkflags[0:0] = [binary.Dep(library, linker)] + binary.compiler.linkflags[0:0] = ['-Wl,--no-as-needed'] + return binary MMS = MMSConfig() diff --git a/core/metamod_oslink.cpp b/core/metamod_oslink.cpp index 00cd6e6..0fd8eea 100644 --- a/core/metamod_oslink.cpp +++ b/core/metamod_oslink.cpp @@ -114,5 +114,7 @@ void operator delete(void * ptr) { void operator delete[](void * ptr) { free(ptr); } + +void *__gxx_personality_v0; #endif