changeset 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 |
a80076bea5bd |
children |
2ae447eb03ed |
files |
ChangeLog mkoctfile.cc.in |
diffstat |
2 files changed, 6 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-22 Benjamin Lindner <lindnerb@users.sourceforge.net>
+
+ * mkoctfile.cc.in: mask MSVC specific linker flags for mex output
+
2009-05-25 Jaroslav Hajek <highegg@gmail.com>
Version 3.2.0 released.
--- a/mkoctfile.cc.in
+++ b/mkoctfile.cc.in
@@ -533,7 +533,9 @@
else if (arg == "--mex")
{
incflags += " -I.";
+#ifdef _MSC_VER
ldflags += " -Wl,-export:mexFunction";
+#endif
output_ext = ".mex";
}
else if (starts_with (arg, "-W"))