ldflags argument must be a string when using ilib_build (wrong previous commit)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Vincent Couvert 2011-09-15 08:11:27 +00:00
commit 62663c90d2

View file

@ -142,7 +142,7 @@ public:
if (ldflag != NULL) { if (ldflag != NULL) {
Printf(builderCode, "ldflags = \"%s\";\n", ldflag); Printf(builderCode, "ldflags = \"%s\";\n", ldflag);
} else { } else {
Printf(builderCode, "ldflags = \"%s\";\n"); Printf(builderCode, "ldflags = \"\";\n");
} }
Printf(builderCode, "cflags = [\"-g -I\" + get_absolute_file_path(\"builder.sce\")];\n"); Printf(builderCode, "cflags = [\"-g -I\" + get_absolute_file_path(\"builder.sce\")];\n");
if (cflag != NULL) { if (cflag != NULL) {