fixed mingw libraries static compilation
This commit is contained in:
parent
5c6fe5944a
commit
1940d01d9b
@ -34,7 +34,7 @@ case "$OS" in
|
|||||||
WINDOWS)
|
WINDOWS)
|
||||||
EXEC_FILE="$PROJECT.exe"
|
EXEC_FILE="$PROJECT.exe"
|
||||||
SHARED_LIB_FILE="$PROJECT.dll"
|
SHARED_LIB_FILE="$PROJECT.dll"
|
||||||
LINKER_LIBS=""
|
LINKER_LIBS="-static -lstdc++ -lpthread"
|
||||||
;;
|
;;
|
||||||
LINUX)
|
LINUX)
|
||||||
EXEC_FILE="$PROJECT"
|
EXEC_FILE="$PROJECT"
|
||||||
|
|||||||
@ -101,7 +101,7 @@ void Engine::updateGameObjects(f64 deltaTime){
|
|||||||
game::GameObject& Engine::createGameObject(){
|
game::GameObject& Engine::createGameObject(){
|
||||||
auto pair = gameObjectPool.emplace(game::GameObject(mono.createObject(gameObjectClass)));
|
auto pair = gameObjectPool.emplace(game::GameObject(mono.createObject(gameObjectClass)));
|
||||||
game::GameObject& obj = pair.second;
|
game::GameObject& obj = pair.second;
|
||||||
gameObjectCtor(obj.getObjectHandle().getObject(), obj_id++, pair.first);
|
gameObjectCtor(obj.getObjectHandle().getObject(), ++obj_id, pair.first);
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user