Modified -l option so that library files are included at the end again. The earlier
change broke a lot of existing code I wasn't anticipating. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
87e6908015
commit
b3af6259e0
1 changed files with 3 additions and 3 deletions
|
|
@ -401,13 +401,13 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
if (lang_config) {
|
||||
Printf(fs,"\n%%include \"%s\"\n", lang_config);
|
||||
}
|
||||
for (i = 0; i < Len(libfiles); i++) {
|
||||
Printf(fs,"\n%%include \"%s\"\n", Getitem(libfiles,i));
|
||||
}
|
||||
Printf(fs,"\n%%includefile \"%s\" {\n", Swig_last_file());
|
||||
Append(fs, ds);
|
||||
Append(fs,"\n}\n");
|
||||
Delete(ds);
|
||||
for (i = 0; i < Len(libfiles); i++) {
|
||||
Printf(fs,"\n%%include \"%s\"\n", Getitem(libfiles,i));
|
||||
}
|
||||
Seek(fs,0,SEEK_SET);
|
||||
cpps = Preprocessor_parse(fs);
|
||||
if (cpp_only) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue