From 9daf8c810684c4b438e361f3e57ed322265f95c0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 3 Jul 2017 20:41:50 +0200 Subject: bcm28xx-vc: use /usr --- ...atch-host_applications_linux_libs_bcm_host_CMakeLists_txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt') diff --git a/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt b/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt index 20d396566..2b6a25111 100644 --- a/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt +++ b/package/bcm28xx-vc/patches/patch-host_applications_linux_libs_bcm_host_CMakeLists_txt @@ -1,5 +1,5 @@ ---- bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8.orig/host_applications/linux/libs/bcm_host/CMakeLists.txt 2015-10-27 10:59:48.000000000 +0100 -+++ bcm28xx-vc-c2f27fb8e581f8e5af83bf28422553ade8f7a7c8/host_applications/linux/libs/bcm_host/CMakeLists.txt 2015-11-16 20:31:44.277474548 +0100 +--- bcm28xx-vc-8d518460723779f95b49efafc04c183e83da3a18.orig/host_applications/linux/libs/bcm_host/CMakeLists.txt 2017-06-27 18:59:31.000000000 +0200 ++++ bcm28xx-vc-8d518460723779f95b49efafc04c183e83da3a18/host_applications/linux/libs/bcm_host/CMakeLists.txt 2017-07-01 14:33:21.139286425 +0200 @@ -3,7 +3,7 @@ if (WIN32) set(VCOS_PLATFORM win32) else () @@ -9,3 +9,11 @@ endif () include_directories( ../../../.. +@@ -20,3 +20,7 @@ target_link_libraries(bcm_host vcos vcho + + install(TARGETS bcm_host DESTINATION lib) + ++configure_file("${CMAKE_CURRENT_SOURCE_DIR}/bcm_host.pc.in" ++ "${CMAKE_CURRENT_BINARY_DIR}/bcm_host.pc" @ONLY) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bcm_host.pc" ++ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") -- cgit v1.2.3