Files
MINGW-packages/mingw-w64-python-cx-logging/0000-include-cx-logging-h.patch
T

16 lines
734 B
Diff

--- src/python-cx-logging-i686/setup.py 2021-01-30 16:27:25.000000000 -0300
+++ src/cx_Logging-3.0/setup.py 2021-04-18 08:54:46.685643086 -0300
@@ -90,6 +90,12 @@
targetFileName = os.path.join(dir, baseName)
self.copy_file(command.importLibraryName, targetFileName)
self.outfiles.append(targetFileName)
+ # https://github.com/anthony-tuininga/cx_Logging/pull/4/files
+ target_dir = os.path.join(self.install_dir, "Include")
+ self.mkpath(target_dir)
+ target_file_name = os.path.join(target_dir, "cx_Logging.h")
+ self.copy_file("src\\cx_Logging.h", target_file_name)
+ self.outfiles.append(target_file_name)
# setup macros