You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/vaal/files/vaal-1.2-as-needed.patch

23 lines
905 B

--- VAAL.orig/MakeDepend.cc 2008-12-18 17:05:48.000000000 +0100
+++ VAAL/MakeDepend.cc 2010-02-14 13:42:23.734370178 +0100
@@ -1195,9 +1195,6 @@
}
}
mf << " -L. -L$(LIB) -L$(OBJ) $(LINK_LIBS)";
- for ( set<string>::iterator dep_iter = lib_deps.begin();
- dep_iter != lib_deps.end(); ++dep_iter )
- mf << " " << "$(" << *dep_iter << "_LFLAGS)";
for ( set<string>::iterator dep_iter = sharedlib_deps.begin();
dep_iter != sharedlib_deps.end(); ++dep_iter ) {
// Extract the symbolic name of this library from its filename.
@@ -1208,6 +1205,9 @@
mf << " -l" << sharedlib_name;
}
mf << " -l" << libname;
+ for ( set<string>::iterator dep_iter = lib_deps.begin();
+ dep_iter != lib_deps.end(); ++dep_iter )
+ mf << " " << "$(" << *dep_iter << "_LFLAGS)";
mf << "\n\t" << "/bin/rm $(OBJ)/lib" << libname << ".a\n";
}
}