libmirisdr/libmirisdr-cmake-libsuffix.diff
Martin Pluskal 7db31435a8 Accepting request 490028 from home:mnhauke:sdr-devel
- add patch for fixing issues with pkgconfig on 64bit platforms
  * libmirisdr-cmake-libsuffix.diff
- fix naming of the changes file
  * bmirisdr.changes -> libmirisdr.changes
- use some specfiles variables to ease maintenance

- Packaging cleanup:
  * Run spec-cleaner
  * Add _service

- udev_rules_update added for openSUSE

- fixed build for Tumbleweed

- fixed build for Tumbleweed
- some mods to specfile

- fixed build for SLE 12

- fixed build for openSUSE 13.2
- removed timestamp from html docs

- fixed udev rules location for openSUSE 13.1+ and Fedora 19+

- updated to git 20130608

- fixed some rpmlimt warnings

- git 20130113

OBS-URL: https://build.opensuse.org/request/show/490028
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/libmirisdr?expand=0&rev=3
2017-04-23 17:11:19 +00:00

23 lines
622 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43192aa..e8d9fdf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -116,7 +116,7 @@ ENDIF(CMAKE_CROSSCOMPILING)
set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix \${prefix})
-set(libdir \${exec_prefix}/lib)
+set(libdir \${exec_prefix}/lib${LIB_SUFFIX})
set(includedir \${prefix}/include)
CONFIGURE_FILE(
@@ -126,7 +126,7 @@ CONFIGURE_FILE(
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/libmirisdr.pc
- DESTINATION lib/pkgconfig
+ DESTINATION lib${LIB_SUFFIX}/pkgconfig
)
########################################################################