Skip to content

Commit

Permalink
Fix non-macos build
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Apr 27, 2024
1 parent 51186c9 commit 2a8746b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .clang-format

This file was deleted.

2 changes: 1 addition & 1 deletion source/backend/plugin/CarlaPluginVST3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3458,7 +3458,7 @@ class CarlaPluginVST3 : public CarlaPlugin,
binaryfilename += ".so";
#endif

if (! water::File(binaryfilename).existsAsFile())
if (! water::File(binaryfilename.toRawUTF8()).existsAsFile())
{
pData->engine->setLastError("Failed to find a suitable VST3 bundle binary");
return false;
Expand Down
2 changes: 1 addition & 1 deletion source/discovery/carla-discovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ static bool do_vst3_check(lib_t& libHandle, const char* const filename, const bo
binaryfilename += ".so";
#endif

if (! water::File(binaryfilename).existsAsFile())
if (! water::File(binaryfilename.toRawUTF8()).existsAsFile())
{
DISCOVERY_OUT("error", "Failed to find a suitable VST3 bundle binary");
return false;
Expand Down

0 comments on commit 2a8746b

Please sign in to comment.