From bce883028fc40b24a02a9ff55f28fff416c83c8f Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Sat, 1 Jun 2024 11:01:38 +0300 Subject: [PATCH] Added -static-libstdc++ compile flag. --- CMakeLists.txt | 2 +- Quik.StbImage.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 814d897..a95aef4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/Quik.StbImage.csproj b/Quik.StbImage.csproj index f3f270e..4a9e9a8 100644 --- a/Quik.StbImage.csproj +++ b/Quik.StbImage.csproj @@ -12,7 +12,7 @@ True Quik.StbImage - 1.1.0 + 1.1.1 STBI Authors, H. Utku Maden A C# wrapper for the ubiquitous Stb Image library.