Staticc linking to libstdc++/libgcc

This commit is contained in:
2025-08-30 23:13:59 +03:00
parent 228eafb7d8
commit 6ec256195b

View File

@@ -101,11 +101,11 @@ target_link_libraries(Game OgreBites OgreBullet OgrePaging OgreTerrain OgreMeshL
GameData
sound
flecs::flecs_static
-static-libstdc++
-static-libgcc
-Wl,--as-needed
)
if(OGRE_STATIC)
target_link_options(Game PRIVATE -static-libstdc++ -static-libgcc)
endif()
add_dependencies(Game stage_files import_buildings import_water_stuff import_vehicles import_vrm audio_data_gui)
add_executable(Procedural Procedural.cpp ${TERRAIN_SRC})