All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/openjpeg: fix static library install
@ 2017-11-01  7:20 Bernd Kuhls
  2017-11-01  8:05 ` Olivier Schonken
  2017-11-01  9:37 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2017-11-01  7:20 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/c35/c35599e6bf09aebe456ea959d7c238f82090fc62/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/openjpeg/0004-install-static-lib.patch | 27 ++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/openjpeg/0004-install-static-lib.patch

diff --git a/package/openjpeg/0004-install-static-lib.patch b/package/openjpeg/0004-install-static-lib.patch
new file mode 100644
index 0000000000..4a3bbfa28a
--- /dev/null
+++ b/package/openjpeg/0004-install-static-lib.patch
@@ -0,0 +1,27 @@
+From 66297f07a43d2770a97c8456d20202f3d051d980 Mon Sep 17 00:00:00 2001
+From: Even Rouault <even.rouault@spatialys.com>
+Date: Mon, 9 Oct 2017 11:40:43 +0200
+Subject: [PATCH] Unix build: fix regression of 2.3.0 where a shared-only or
+ static-only build lacks the installation target for the library (#1019, fixes
+ regression introduced by 3dfc6ca2bcf06fd1adb6b6b4cecc6c092f08ba0b)
+
+Downloaded from upstream commit
+https://github.com/uclouvain/openjpeg/commit/66297f07a43d2770a97c8456d20202f3d051d980
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ src/lib/openjp2/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt
+index 0b4520384..f8990ccf0 100644
+--- a/src/lib/openjp2/CMakeLists.txt
++++ b/src/lib/openjp2/CMakeLists.txt
+@@ -99,6 +99,7 @@ else()
+     set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME} openjp2_static)
+   else()
+     add_library(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS})
++    set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME})
+   endif()
+ endif()
+ 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/openjpeg: fix static library install
  2017-11-01  7:20 [Buildroot] [PATCH 1/1] package/openjpeg: fix static library install Bernd Kuhls
@ 2017-11-01  8:05 ` Olivier Schonken
  2017-11-01  9:37 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Olivier Schonken @ 2017-11-01  8:05 UTC (permalink / raw)
  To: buildroot

Acked-by: Olivier Schonken <olivier.schonken@gmail.com>

On 1 November 2017 at 09:20, Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Fixes
> http://autobuild.buildroot.net/results/c35/c35599e6bf09aebe456ea959d7c238
> f82090fc62/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/openjpeg/0004-install-static-lib.patch | 27
> ++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 package/openjpeg/0004-install-static-lib.patch
>
> diff --git a/package/openjpeg/0004-install-static-lib.patch
> b/package/openjpeg/0004-install-static-lib.patch
> new file mode 100644
> index 0000000000..4a3bbfa28a
> --- /dev/null
> +++ b/package/openjpeg/0004-install-static-lib.patch
> @@ -0,0 +1,27 @@
> +From 66297f07a43d2770a97c8456d20202f3d051d980 Mon Sep 17 00:00:00 2001
> +From: Even Rouault <even.rouault@spatialys.com>
> +Date: Mon, 9 Oct 2017 11:40:43 +0200
> +Subject: [PATCH] Unix build: fix regression of 2.3.0 where a shared-only
> or
> + static-only build lacks the installation target for the library (#1019,
> fixes
> + regression introduced by 3dfc6ca2bcf06fd1adb6b6b4cecc6c092f08ba0b)
> +
> +Downloaded from upstream commit
> +https://github.com/uclouvain/openjpeg/commit/
> 66297f07a43d2770a97c8456d20202f3d051d980
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> +---
> + src/lib/openjp2/CMakeLists.txt | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.
> txt
> +index 0b4520384..f8990ccf0 100644
> +--- a/src/lib/openjp2/CMakeLists.txt
> ++++ b/src/lib/openjp2/CMakeLists.txt
> +@@ -99,6 +99,7 @@ else()
> +     set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME} openjp2_static)
> +   else()
> +     add_library(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS})
> ++    set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME})
> +   endif()
> + endif()
> +
> --
> 2.11.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171101/e67f7f3c/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/openjpeg: fix static library install
  2017-11-01  7:20 [Buildroot] [PATCH 1/1] package/openjpeg: fix static library install Bernd Kuhls
  2017-11-01  8:05 ` Olivier Schonken
@ 2017-11-01  9:37 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-11-01  9:37 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  1 Nov 2017 08:20:18 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/c35/c35599e6bf09aebe456ea959d7c238f82090fc62/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/openjpeg/0004-install-static-lib.patch | 27 ++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 package/openjpeg/0004-install-static-lib.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-01  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01  7:20 [Buildroot] [PATCH 1/1] package/openjpeg: fix static library install Bernd Kuhls
2017-11-01  8:05 ` Olivier Schonken
2017-11-01  9:37 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.