Added -static-libstdc++ compile flag.
All checks were successful
Build / build (push) Successful in 1m39s

This commit is contained in:
H. Utku Maden 2024-06-01 11:01:38 +03:00
parent 0e1824bdb1
commit bce883028f
2 changed files with 2 additions and 2 deletions

@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0)
project(quik_stbi LANGUAGES C VERSION 1.0)
if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
add_compile_options(-static-libgcc)
add_compile_options(-static-libgcc -static-libstdc++)
endif()
add_library(stbi SHARED "quik_stbi.c")

@ -12,7 +12,7 @@
<!-- Nuget Properties. -->
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Quik.StbImage</PackageId>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
<Authors>STBI Authors, H. Utku Maden</Authors>
<Description>
A C# wrapper for the ubiquitous Stb Image library.