aboutsummaryrefslogtreecommitdiffstats
path: root/main/cmake/patch-adjust-lib64.patch
blob: 1dfd619ea6715a09d880f8059e71e2b293ae7ad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake
index f7d8c36a26..d81033ca90 100644
--- a/Modules/GNUInstallDirs.cmake
+++ b/Modules/GNUInstallDirs.cmake
@@ -239,6 +239,7 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR OR (_libdir_set
   endif()
   if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
       AND NOT CMAKE_CROSSCOMPILING
+      AND NOT EXISTS "/etc/alpine-release"
       AND NOT EXISTS "/etc/arch-release")
     if (EXISTS "/etc/debian_version") # is this a debian system ?
       if(CMAKE_LIBRARY_ARCHITECTURE)