summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-10-31 17:12:33 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-10-31 17:20:22 +0200
commit0f2976e8fb65dd8685b51d3fa1cf2a7b6f001d5d (patch)
tree20b58fca311849790ec5b13c2db60ea75391853d /glib
parent075e9ca0b96f37b3561824c23af60872d6a9d80a (diff)
Don't let a DEBUG env var pollute the GLib nmake build mechanism
LO builds GLib, gdk-pixbuf and Pango using their ancient nmake-based build mechanisms (that use the make.msc from GLib's build/win32 directory). This compiles against the debugging runtime (the -MDd switch, msvcr90d.dll) if there is a DEBUG environment variable. We don't want that. None of LO's own DLLs should use the debugging runtime even in an --enable-debug build, and the debugging runtime doesn't get included in the installer. Change-Id: I04d2dcc0d5bb245af4afac976b6c1fecbf2095e1
Diffstat (limited to 'glib')
-rw-r--r--glib/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/makefile.mk b/glib/makefile.mk
index b81cc53d3547..eb9a72a3307c 100644
--- a/glib/makefile.mk
+++ b/glib/makefile.mk
@@ -140,7 +140,7 @@ ADDITIONAL_FILES= config.h \
gmodule/gmoduleconf.h \
gobject/glib-mkenums
-BUILD_ACTION=nmake -f makefile.msc
+BUILD_ACTION=unset debug; nmake -f makefile.msc
OUT2BIN+=gio$/giolo.dll
OUT2BIN+=glib$/gliblo.dll