mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
23 lines
577 B
Plaintext
23 lines
577 B
Plaintext
From b562e5e0043fbf6881ad69bcf5df86a31e4b0bac Mon Sep 17 00:00:00 2001
|
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
|
Date: Sun, 25 Oct 2020 16:12:46 +1000
|
|
Subject: Fix build
|
|
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index bf5db43..317baed 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -101,7 +101,7 @@ if (ENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS AND NOT (CMAKE_BUILD_TYPE_UPPER MATC
|
|
endif()
|
|
endif ()
|
|
|
|
-if(NOT APPLE AND NOT WIN32)
|
|
+if(NOT APPLE AND NOT WIN32 AND NOT HAIKU)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
|
|
endif()
|
|
|
|
--
|
|
2.28.0
|
|
|