[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: cmake: Add input libraries to the rpath.

From: Andreas Enge
Subject: [PATCH] build: cmake: Add input libraries to the rpath.
Date: Fri, 25 Apr 2014 09:13:46 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

In a discussion we had yesterday, Ludovic mentioned the need to pass a
special flag to the cmake configure phase to modify the rpath of installed
libraries, as done for the package slim. I then noticed I needed the same
flag for clucene. The attached patch applies it globally in the cmake build
system. This should also avoid the need for the add-libs-to-runpath phase
in the gmsh package Eric Bavier posted yesterday.

In slim, there is another flag:
    ;; Don't build, because then the build
    ;; system is unable to set the right RUNPATH on the
    ;; 'slim' binary.
I wonder if we should instead use another of the rpath setting variables
given at

Moreover, needs to be linked to
from the same package. Here we usually employ patchelf, but maybe yet again
a cmake flag could solve the problem directly.

Comments from cmake specialists are very welcome!


Attachment: 0001-build-cmake-Add-input-libraries-to-the-rpath.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]