1*4882a593SmuzhiyunFrom b08fe001e3d3f3564ef298e62342f07080807f7a Mon Sep 17 00:00:00 2001 2*4882a593SmuzhiyunFrom: Vicente Olivert Riera <Vincent.Riera@imgtec.com> 3*4882a593SmuzhiyunDate: Wed, 28 Oct 2015 15:45:10 +0000 4*4882a593SmuzhiyunSubject: [PATCH] Let the shared and the static library have the same name 5*4882a593SmuzhiyunMIME-Version: 1.0 6*4882a593SmuzhiyunContent-Type: text/plain; charset=UTF-8 7*4882a593SmuzhiyunContent-Transfer-Encoding: 8bit 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunThe will be differentiated by the extension (.so or .a). 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunFetched from: 12*4882a593Smuzhiyunhttps://github.com/vriera/yajl/commit/6d09f11b8fd358cab0e31b965327e64a599f9ce9 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunSigned-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> 15*4882a593SmuzhiyunSigned-off-by: Jörg Krause <joerg.krause@embedded.rocks> 16*4882a593Smuzhiyun--- 17*4882a593Smuzhiyun src/CMakeLists.txt | 1 + 18*4882a593Smuzhiyun 1 file changed, 1 insertion(+) 19*4882a593Smuzhiyun 20*4882a593Smuzhiyundiff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 21*4882a593Smuzhiyunindex 99cf9e9..1a900d3 100644 22*4882a593Smuzhiyun--- a/src/CMakeLists.txt 23*4882a593Smuzhiyun+++ b/src/CMakeLists.txt 24*4882a593Smuzhiyun@@ -36,6 +36,7 @@ SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig) 25*4882a593Smuzhiyun SET(LIBRARY_OUTPUT_PATH ${libDir}) 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun ADD_LIBRARY(yajl_s STATIC ${SRCS} ${HDRS} ${PUB_HDRS}) 28*4882a593Smuzhiyun+SET_TARGET_PROPERTIES(yajl_s PROPERTIES OUTPUT_NAME yajl) 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun ADD_LIBRARY(yajl SHARED ${SRCS} ${HDRS} ${PUB_HDRS}) 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun-- 33*4882a593Smuzhiyun2.8.0 34*4882a593Smuzhiyun 35