File: 02_remove_libsuffix.patch

package info (click to toggle)
swami 2.0.0%2Bsvn389-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,320 kB
  • ctags: 3,912
  • sloc: ansic: 33,423; sh: 10,272; makefile: 604; xml: 22; sed: 16
file content (22 lines) | stat: -rw-r--r-- 812 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
20
21
22
Description: Strip suffix from the libraries installation path.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: no
---
 CMakeLists.txt |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- swami.orig/CMakeLists.txt
+++ swami/CMakeLists.txt
@@ -57,11 +57,7 @@ option ( enable-fluidsynth "enable Fluid
 option ( enable-fftw "enable fftw support for the FFTune plugin (if it is available)" on )
 
 # Initialize the library directory name suffix.
-if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
-  set ( _init_lib_suffix "64" )
-else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
-  set ( _init_lib_suffix "" )
-endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+set ( _init_lib_suffix "" )
 set ( LIB_SUFFIX ${_init_lib_suffix} CACHE STRING 
       "library directory name suffix (32/64/nothing)" )
 mark_as_advanced ( LIB_SUFFIX )