summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-04-11 20:34:53 (GMT)
committerBrad King <brad.king@kitware.com>2001-04-11 20:34:53 (GMT)
commit69308873f9d71e7144a54736795ab691e39ce89e (patch)
treeaed052f905b797a4989b9cea4e45baa6bce0c848
parent7b2b93560e5867b4426c972ec78d2ee0246dd248 (diff)
downloadCMake-69308873f9d71e7144a54736795ab691e39ce89e.zip
CMake-69308873f9d71e7144a54736795ab691e39ce89e.tar.gz
CMake-69308873f9d71e7144a54736795ab691e39ce89e.tar.bz2
ENH: Generation now sets up proper linking of shared libraries to each other.
-rw-r--r--Source/cmUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 702ca0d..6ffed36 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -177,7 +177,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
fout << "\t$(CXX) ${CXX_FLAGS} ${CMAKE_SHLIB_BUILD_FLAGS} -o \\\n";
fout << "\t lib" << l->first << "$(SHLIB_SUFFIX) \\\n";
fout << "\t ${KIT_OBJ} ${" << l->first <<
- "_SRC_OBJS} ${SHLIB_LD_LIBS}\n\n";
+ "_SRC_OBJS} ${CMAKE_LINK_LIBS}\n\n";
}
else
{