aports/testing/libzrtpcpp/lib-suffix.patch
2025-01-04 21:54:01 +00:00

19 lines
564 B
Diff

we don't want libraries in /usr/lib64 (why???)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c0ab6c..9c0c963 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,12 +103,6 @@ include(CheckFunctionExists)
if (NOT LIB_SUFFIX)
set(LIBDIRNAME "lib")
- # this caused problems in debian where it has to always be lib....
- if (NOT EXISTS /etc/debian_version)
- if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" )
- set(LIBDIRNAME "lib64")
- endif()
- endif()
else()
set(LIBDIRNAME "lib${LIB_SUFFIX}")
endif()