diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2010-02-09 00:21:03 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2010-02-09 00:21:03 +0000 |
commit | d0ecd36ade0689c255d2f8e90541d663d25e799a (patch) | |
tree | 7fa3c3516fc460be163f9f99f6f5a53d0e91521a /Source/Modules/main.cxx | |
parent | e810d025c9b15f0e9e58a373f42a5cc0672c4bc4 (diff) | |
download | swig-d0ecd36ade0689c255d2f8e90541d663d25e799a.tar.gz |
Add Swig_filename_escape for library files added with -l ... not entirely sure this is needed, but no harm done
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules/main.cxx')
-rw-r--r-- | Source/Modules/main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx index e463d1d14..43f6af835 100644 --- a/Source/Modules/main.cxx +++ b/Source/Modules/main.cxx @@ -1024,7 +1024,7 @@ int SWIG_main(int argc, char *argv[], Language *l) { } Printf(fs, "%%include(maininput=\"%s\") \"%s\"\n", Swig_filename_escape(input_file), Swig_filename_escape(Swig_last_file())); for (i = 0; i < Len(libfiles); i++) { - Printf(fs, "\n%%include \"%s\"\n", Getitem(libfiles, i)); + Printf(fs, "\n%%include \"%s\"\n", Swig_filename_escape(Getitem(libfiles, i))); } Seek(fs, 0, SEEK_SET); cpps = Preprocessor_parse(fs); |