File: python-multiarch.patch

package info (click to toggle)
tasmanian 8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,852 kB
  • sloc: cpp: 34,523; python: 7,039; f90: 5,080; makefile: 224; sh: 64; ansic: 8
file content (20 lines) | stat: -rw-r--r-- 1,001 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix search path of shared libraries in Python module
 The installation path has changed in version 8.2 with the move to
 GNUInstallDirs in CMake, but the Python module has not been updated
 accordingly.
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: https://github.com/ORNL/TASMANIAN/pull/796
Last-Update: 2025-12-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/InterfacePython/CMakeLists.txt
+++ b/InterfacePython/CMakeLists.txt
@@ -111,7 +111,7 @@ add_custom_target(Tasmanian_python_testi
 ########################################################################
 # Stage 2: Install folder paths
 ########################################################################
-set(Tasmanian_shared_lib_destination "lib")
+set(Tasmanian_shared_lib_destination "${CMAKE_INSTALL_LIBDIR}")
 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") # windows puts the .dll files in bin, as opposed to lib
     set(Tasmanian_shared_lib_destination "bin")
 endif()