summaryrefslogtreecommitdiff
path: root/libyuv-0005-Use-library-suffix-during-installation.patch
blob: 4a5e5fa28770d095aa8eca929db6c64860311014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Mon, 24 Sep 2018 15:15:09 +0200
Subject: [PATCH] Use library suffix during installation

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b3b22c47..0e4c79db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -187,5 +187,5 @@ endif()
 
 # install the conversion tool, .so, and all the header files
 INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert			DESTINATION bin )
-INSTALL ( TARGETS ${ly_lib_shared} LIBRARY				DESTINATION lib RUNTIME DESTINATION bin )
+INSTALL ( TARGETS ${ly_lib_shared} LIBRARY				DESTINATION lib${LIB_SUFFIX} )
 INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/		DESTINATION include )