Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.8KB

  1. diff --git a/cmake-proxies/cmake-modules/FindwxWidgets.cmake b/cmake-proxies/cmake-modules/FindwxWidgets.cmake
  2. index 86fc471..cb2f6f6 100644
  3. --- a/cmake-proxies/cmake-modules/FindwxWidgets.cmake
  4. +++ b/cmake-proxies/cmake-modules/FindwxWidgets.cmake
  5. @@ -209,11 +209,7 @@ endif()
  6. #=====================================================================
  7. # Determine whether unix or win32 paths should be used
  8. #=====================================================================
  9. -if(WIN32 AND NOT CYGWIN AND NOT MSYS AND NOT CMAKE_CROSSCOMPILING)
  10. set(wxWidgets_FIND_STYLE "win32")
  11. -else()
  12. - set(wxWidgets_FIND_STYLE "unix")
  13. -endif()
  14. #=====================================================================
  15. # WIN32_FIND_STYLE
  16. diff --git a/include/audacity/Types.h b/include/audacity/Types.h
  17. index 9547b19..994a150 100644
  18. --- a/include/audacity/Types.h
  19. +++ b/include/audacity/Types.h
  20. @@ -844,6 +844,9 @@ using EffectFamilySymbol = ComponentInterfaceSymbol;
  21. #endif
  22. #endif
  23. #endif
  24. +
  25. + // KXStudio custom build
  26. + #define AUDACITY_DLL_API __attribute__((visibility("default")))
  27. #endif
  28. #endif // __AUDACITY_TYPES_H__
  29. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  30. index 409b34a..79e8f3c 100644
  31. --- a/src/CMakeLists.txt
  32. +++ b/src/CMakeLists.txt
  33. @@ -1028,7 +1028,6 @@ audacity_append_common_compiler_options( OPTIONS )
  34. list( APPEND LDFLAGS
  35. PRIVATE
  36. $<$<CXX_COMPILER_ID:MSVC>:/MANIFEST:NO>
  37. - $<$<CXX_COMPILER_ID:GNU>:-Wl,--disable-new-dtags>
  38. )
  39. #
  40. diff --git a/src/effects/VST/VSTControlMSW.h b/src/effects/VST/VSTControlMSW.h
  41. index f9477ea..f679a3e 100644
  42. --- a/src/effects/VST/VSTControlMSW.h
  43. +++ b/src/effects/VST/VSTControlMSW.h
  44. @@ -11,7 +11,7 @@
  45. #ifndef AUDACITY_VSTCONTROLMSW_H
  46. #define AUDACITY_VSTCONTROLMSW_H
  47. -#include <Windows.h>
  48. +#include <windows.h>
  49. #include "VSTControl.h"