comparison mkoctfile.cc.in @ 11962:015af716bdd6 release-3-2-x

properly #ifdef MSVC linker specific flags
author Benjamin Lindner <lindnerb@users.sourceforge.net>
date Sat, 23 May 2009 10:40:28 +0200
parents 16f53d29049f
children eee9b3150446
comparison
equal deleted inserted replaced
11961:a80076bea5bd 11962:015af716bdd6
531 link_stand_alone = true; 531 link_stand_alone = true;
532 } 532 }
533 else if (arg == "--mex") 533 else if (arg == "--mex")
534 { 534 {
535 incflags += " -I."; 535 incflags += " -I.";
536 #ifdef _MSC_VER
536 ldflags += " -Wl,-export:mexFunction"; 537 ldflags += " -Wl,-export:mexFunction";
538 #endif
537 output_ext = ".mex"; 539 output_ext = ".mex";
538 } 540 }
539 else if (starts_with (arg, "-W")) 541 else if (starts_with (arg, "-W"))
540 { 542 {
541 pass_on_options += (" " + arg); 543 pass_on_options += (" " + arg);