diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-02-24 17:19:25 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-02-24 17:19:25 +0000 |
commit | 050a520ddf9a34b93a3b41704fa2450d7450783f (patch) | |
tree | c91cb1205fb45e4a96889ae478afa66a0559694c /scripts | |
parent | 6851df92502ee6b9b96f008ae66e676f9565fc46 (diff) | |
download | gtest-050a520ddf9a34b93a3b41704fa2450d7450783f.tar.gz gtest-050a520ddf9a34b93a3b41704fa2450d7450783f.tar.bz2 gtest-050a520ddf9a34b93a3b41704fa2450d7450783f.tar.xz |
Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth).
git-svn-id: http://googletest.googlecode.com/svn/trunk@376 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gtest-config.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/gtest-config.in b/scripts/gtest-config.in index b82d5a1..9c72638 100755 --- a/scripts/gtest-config.in +++ b/scripts/gtest-config.in @@ -214,7 +214,7 @@ if test "${this_bindir}" = "${this_bindir%${bindir}}"; then # TODO(chandlerc@google.com): This is a dangerous dependency on libtool, we # should work to remove it, and/or remove libtool altogether, replacing it # with direct references to the library and a link path. - gtest_libs="${build_dir}/lib/libgtest.la" + gtest_libs="${build_dir}/lib/libgtest.la @PTHREAD_CFLAGS@ @PTHREAD_LIBS@" gtest_ldflags="" # We provide hooks to include from either the source or build dir, where the @@ -222,15 +222,15 @@ if test "${this_bindir}" = "${this_bindir%${bindir}}"; then # build rules for generated headers and have them automatically be preferred # over provided versions. gtest_cppflags="-I${build_dir}/include -I${src_dir}/include" - gtest_cxxflags="" + gtest_cxxflags="@PTHREAD_CFLAGS@" else # We're using an installed gtest, although it may be staged under some # prefix. Assume (as our own libraries do) that we can resolve the prefix, # and are present in the dynamic link paths. gtest_ldflags="-L${libdir}" - gtest_libs="-l${name}" + gtest_libs="-l${name} @PTHREAD_CFLAGS@ @PTHREAD_LIBS@" gtest_cppflags="-I${includedir}" - gtest_cxxflags="" + gtest_cxxflags="@PTHREAD_CFLAGS@" fi # Do an installation query if requested. |