Fix up windows 64 build.
authorCarl Hetherington <cth@carlh.net>
Tue, 30 Oct 2012 19:11:58 +0000 (19:11 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 30 Oct 2012 19:11:58 +0000 (19:11 +0000)
windows/installer.nsi.64.in
wscript

index fe02bc75713a6c07f22e3ac3119a095f40a1a4a4..7820d0078c1e0eba7017f19690a53c2db57f0c35 100644 (file)
@@ -1,4 +1,6 @@
 !include "MUI2.nsh"
+!include "x64.nsh"
+
 Name "DVD-o-matic"
 
 RequestExecutionLevel admin
@@ -24,7 +26,15 @@ InstallDir "$PROGRAMFILES\DVD-o-matic"
 !insertmacro MUI_LANGUAGE "English"
 
 Section "install" "Installation info"
+
+${If} ${RunningX64}
+   DetailPrint "Installer running on 64-bit host"
+   ; disable registry redirection (enable access to 64-bit portion of registry)
+   SetRegView 64
+   ; change install dir
+   StrCpy $INSTDIR "$PROGRAMFILES64\DVD-o-matic"
+${EndIf}
+
 SetOutPath "$INSTDIR\bin"
 
 File "%deps%/bin/asdcp-libdcp.dll"
diff --git a/wscript b/wscript
index 2bc0781e413f673c7edd8074ad296aaa04ad1105..10be7109effd23572cc249239e81a1905fb2ed2b 100644 (file)
--- a/wscript
+++ b/wscript
@@ -85,7 +85,7 @@ def configure(conf):
                              #include <boost/thread.hpp>\n
                              int main() { boost::thread t (); }\n
                              """, msg = 'Checking for boost threading library',
-                              lib = [boost_thread],
+                              lib = [boost_thread, 'boost_system%s' % boost_lib_suffix],
                               uselib_store = 'BOOST_THREAD')
 
     conf.check_cxx(fragment = """