Linux VBANext - is built and should work once the mono default attribute issue is sorted

This commit is contained in:
Asnivor 2019-01-26 20:07:00 +00:00
parent e625f48bd1
commit b6173db95c
3 changed files with 11598 additions and 11593 deletions

BIN
Assets/libvbanext.dll.so Executable file

Binary file not shown.

View File

@ -13537,7 +13537,12 @@ void operator delete(void *p)
std::free(p);
}
#ifdef _WIN32
#define EXPORT extern "C" __declspec(dllexport)
#elif __linux__
#define EXPORT extern "C"
#endif
// public interface follows
EXPORT Gigazoid *Create()

View File

@ -1,7 +1,7 @@
CXX = g++
CXXFLAGS = -Wall -O3 -fpermissive -Wno-unused-but-set-variable \
-Wno-strict-aliasing -Wzero-as-null-pointer-constant -Wno-unused-variable \
-Wno-parentheses -Wno-sign-compare -std=gnu++11 -fomit-frame-pointer -fno-exceptions
-Wno-parentheses -Wno-sign-compare -std=gnu++11 -fomit-frame-pointer -fno-exceptions -fPIC
MACHINE = $(shell $(CXX) -dumpmachine)
ifneq (,$(findstring i686,$(MACHINE)))