diff options
author | Knut Omang <knut.omang@oracle.com> | 2018-02-25 14:41:54 (GMT) |
---|---|---|
committer | Knut Omang <knut.omang@oracle.com> | 2019-02-11 19:17:34 (GMT) |
commit | f4d3cdb65753608a7708c681f9ae6248dafcfe3d (patch) | |
tree | c7e5af5481a93fd7cdf6bcdb0b6192f8d84b2ea7 /googletest/cmake | |
parent | 9a502a5b14b4a6160103c1f2c64331772878d86a (diff) | |
download | googletest-f4d3cdb65753608a7708c681f9ae6248dafcfe3d.zip googletest-f4d3cdb65753608a7708c681f9ae6248dafcfe3d.tar.gz googletest-f4d3cdb65753608a7708c681f9ae6248dafcfe3d.tar.bz2 |
Generate a libgtest.la to help libtool managing dependenciesrefs/pull/2114/head
When building and using googletest from an install tree
we want libtool to generate rpath in the dependent binaries
to allow them to be executed from a build without a need
for LD_LIBRARY_PATH or similar.
For libtool based project this happens automatically
as projects generates .la files and install them.
Provide such a file for gtest as well to allow it to
work smoothly with libtool based projects.
Signed-off-by: Knut Omang <knut.omang@oracle.com>
Diffstat (limited to 'googletest/cmake')
-rw-r--r-- | googletest/cmake/libgtest.la.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/googletest/cmake/libgtest.la.in b/googletest/cmake/libgtest.la.in new file mode 100644 index 0000000..840c838 --- /dev/null +++ b/googletest/cmake/libgtest.la.in @@ -0,0 +1,21 @@ +# libgtest.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.6 + +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Names of this library. +library_names='libgtest.so' + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='@CMAKE_INSTALL_FULL_LIBDIR@' |