From 880bca260c4ce91554a49b2475232cf5c0ffd447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 20:15:22 +0100 Subject: [PATCH] octave: fix various shared library rpath problems --- octave/patches/040-octinterp-rpath.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 octave/patches/040-octinterp-rpath.patch diff --git a/octave/patches/040-octinterp-rpath.patch b/octave/patches/040-octinterp-rpath.patch new file mode 100644 index 0000000..172fa07 --- /dev/null +++ b/octave/patches/040-octinterp-rpath.patch @@ -0,0 +1,20 @@ +Index: octave-3.2.4/src/Makefile.in +=================================================================== +--- octave-3.2.4.orig/src/Makefile.in 2011-01-02 18:05:54.000000000 +0100 ++++ octave-3.2.4/src/Makefile.in 2011-01-02 19:10:33.000000000 +0100 +@@ -298,11 +298,13 @@ + endif + + OCTINTERP_LINK_DEPS = \ +- -L../liboctave $(LIBOCTAVE) -L../libcruft $(LIBCRUFT) $(LIBS) $(FLIBS) \ ++ -L../liboctave $(LIBOCTAVE) -L../libcruft $(RLD_FLAG) \ ++ $(LIBCRUFT) $(LIBS) $(FLIBS) \ + $(X11_LIBS) $(OPENGL_LIBS) $(CARBON_LIBS) + + OCT_LINK_DEPS = \ +- -L../libcruft $(LIBCRUFT) -L../liboctave $(LIBOCTAVE) \ ++ -L../libcruft $(LIBCRUFT) -L../liboctave $(RLD_FLAG) \ ++ $(LIBOCTAVE) \ + -L. $(LIBOCTINTERP) $(CHOLMOD_LIBS) $(UMFPACK_LIBS) $(AMD_LIBS) \ + $(CAMD_LIBS) $(COLAMD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) $(BLAS_LIBS) \ + $(FFTW_LIBS) $(QRUPDATE_LIBS) $(ARPACK_LIBS) $(LIBS) $(FLIBS)