Lenard Lindstrom avatar Lenard Lindstrom committed 2543b6f

unpdate Windows deps build chain in preporation to adding ffmpeg

Comments (0)

Files changed (2)

                 if not src_header_dir in copied_dirs:
                     copy_dir(src_header_dir, dest_header_dir)
                     copied_dirs.add(src_header_dir)
+    if 'SDL' in have_dlls:
+        # For MSVC use SDL_config_win32.h in place of configure
+        # generated SDL_config.h.
+        file_copy(
+            os.path.join(src_dir, 'include', 'SDL', 'SDL_config_win32.h'),
+            os.path.join(dest_dir, 'include', 'SDL', 'SDL_config.h'))
 
     # msvcr71.dll linking support.
     src_msvcr71_dir = os.path.join(src_dir, 'lib', 'msvcr71')

msys_build_deps.py

 libpng 1.2.32
 jpeg 6b
 zlib 1.2.3
+PortMidi release 82
 
 The build environment used:
 
 # corresponding action is performed. When '0' it is skipped. A final variable,
 # DBWD, is the root directory of the source code. A script will cd to it before
 # doing anything else.
+#
+# None of these scripts end with an "exit". Exit, possibly, leads to Msys
+# freezing on some versions of Windows (98).
 # 
 # The list order corresponds to build order. It is critical.
 dependencies = [
 
 if [ x$BDINST == x1 ]; then
   make install
+  # Make SDL_config_win32.h available for prebuilt and MSVC
+  cp -f "$BDWD/include/SDL_config_win32.h" "/usr/local/include/SDL"
 fi
 
 if [ x$BDSTRIP == x1 ]; then
   make clean
   rm -f GNUmakefile portmidi.def
 fi
-
-exit 0
 """),
     ]  # End dependencies = [.
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.