Skip to content

Commit

Permalink
Update fix_libtools_error.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Apr 4, 2024
1 parent eee2f20 commit 44c697d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions recipe/fix_libtools_error.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
--- a/dlib/CMakeLists.txt 2022-02-11 14:05:15.000000000 +1000
+++ b/dlib/CMakeLists.txt 2022-02-11 14:05:18.000000000 +1000
@@ -147,8 +147,8 @@
if (APPLE)
diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt
index 44045ef3c2..8084568480 100644
--- a/dlib/CMakeLists.txt
+++ b/dlib/CMakeLists.txt
@@ -138,11 +138,11 @@ endmacro()
# Suppress superfluous randlib warnings about libdlib.a having no symbols on MacOSX.
if (CMAKE_C_COMPILER_ID STREQUAL "AppleClang")
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> Scr <TARGET> <LINK_FLAGS> <OBJECTS>")
set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> Scr <TARGET> <LINK_FLAGS> <OBJECTS>")
- set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
- set(CMAKE_CXX_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
+ # set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> Scr <TARGET> <LINK_FLAGS> <OBJECTS>")
- set(CMAKE_CXX_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
+ # set(CMAKE_CXX_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
endif()

Expand Down

0 comments on commit 44c697d

Please sign in to comment.