File: step305.slog

package info (click to toggle)
debmake-doc 1.17-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,612 kB
  • sloc: makefile: 768; sh: 690; ansic: 114; python: 99; sed: 16
file content (19 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 ... hack, hack, hack, ...(dquilt or gbp-pq)
 $ cat debhello-2.1/debian/patches/series
000-cmake-multiarch.patch
 $ cat debhello-2.1/debian/patches/000-cmake-multiarch.patch
From: "Osamu Aoki" <osamu@debian.org>
Description: cmake multiarch patch
 This moves install path from /usr/lib to /usr/lib/<triplet>.
 Set <triplet> by cmake -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)"....

--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -4,5 +4,5 @@
 # the RPATH of these targets so they are installed with an empty RPATH.
 set_property(TARGET sharedlib PROPERTY VERSION "1.0.0")
 set_property(TARGET sharedlib PROPERTY SOVERSION 1 )
-install(TARGETS sharedlib LIBRARY DESTINATION lib)
+install(TARGETS sharedlib LIBRARY DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTU...
 install(FILES sharedlib.h DESTINATION include)