From 15febeb21fb1f45aa0cd54a3579f33ada23ecfc0 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Wed, 9 Dec 2020 09:07:00 +0000 Subject: [PATCH] Install the Octave libraries publically in /usr/lib/ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Forwarded: not-needed Reviewed-by: Rafael Laboissière Last-Update: 2016-11-20 Thanks to John Eaton for helping with this. The patch is currently not needed upstream, but forwarding it might make sense in the future. Gbp-Pq: Name install_libraries_publically.patch --- Makefile.am | 1 + libinterp/module.mk | 2 +- liboctave/module.mk | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3f196217..bedadf98 100644 --- a/Makefile.am +++ b/Makefile.am @@ -191,6 +191,7 @@ OCTAVE_CROSS_TOOLS = OCTAVE_INTERPRETER_TARGETS = octlib_LTLIBRARIES = +lib_LTLIBRARIES = noinst_LTLIBRARIES = octinclude_HEADERS = diff --git a/libinterp/module.mk b/libinterp/module.mk index 1a078652..d13c4ad5 100644 --- a/libinterp/module.mk +++ b/libinterp/module.mk @@ -24,7 +24,7 @@ LIBINTERP_DEFUN_FILES = $(HDF5_CPPFLAGS) \ $(MAGICK_CPPFLAGS) -octlib_LTLIBRARIES += %reldir%/liboctinterp.la +lib_LTLIBRARIES += %reldir%/liboctinterp.la %canon_reldir%_pkgconfig_DATA = %reldir%/octinterp.pc diff --git a/liboctave/module.mk b/liboctave/module.mk index 55d5e4af..bfc9d82e 100644 --- a/liboctave/module.mk +++ b/liboctave/module.mk @@ -23,7 +23,7 @@ GEN_CONFIG_SHELL += \ -I$(srcdir)/%reldir%/util \ -I$(srcdir)/%reldir%/wrappers -octlib_LTLIBRARIES += %reldir%/liboctave.la +lib_LTLIBRARIES += %reldir%/liboctave.la %canon_reldir%_pkgconfig_DATA = %reldir%/octave.pc -- 2.30.2