Browse Source

ENH: Generation now sets up proper linking of shared libraries to each other.

Brad King 24 years ago
parent
commit
69308873f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmUnixMakefileGenerator.cxx

+ 1 - 1
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
       {