mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 03:49:57 +00:00
soci: remove unused soci_libdir.patch
* it was removed from SRC_URI in: https://git.openembedded.org/meta-openembedded/commit/?id=01cd7fcae16edde709d24f905a222dcaea8fb0a1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
Define SOCI_LIBDIR only if its not passed via environemnt. In OE we
|
|
||||||
want to set it per our choice since we use 'lib' for 64bit unless we
|
|
||||||
are using multilib
|
|
||||||
|
|
||||||
-Khem
|
|
||||||
|
|
||||||
Index: soci-3.2.2/CMakeLists.txt
|
|
||||||
===================================================================
|
|
||||||
--- soci-3.2.2.orig/CMakeLists.txt
|
|
||||||
+++ soci-3.2.2/CMakeLists.txt
|
|
||||||
@@ -69,11 +69,12 @@ include(SociDependencies)
|
|
||||||
###############################################################################
|
|
||||||
# Installation
|
|
||||||
###############################################################################
|
|
||||||
-
|
|
||||||
-if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
||||||
- set(SOCI_LIBDIR "lib")
|
|
||||||
-else()
|
|
||||||
- set(SOCI_LIBDIR "lib64")
|
|
||||||
+if(NOT DEFINED SOCI_LIBDIR)
|
|
||||||
+ if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
||||||
+ set(SOCI_LIBDIR "lib")
|
|
||||||
+ else()
|
|
||||||
+ set(SOCI_LIBDIR "lib")
|
|
||||||
+ endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(BINDIR "bin" CACHE PATH "The directory to install binaries into.")
|
|
||||||
Reference in New Issue
Block a user