Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bundlex dependency to 1.4, fix for cross-compile on OSX. #51

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bundlex.exs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ defmodule Membrane.PortAudio.BundlexProject do
],
preprocessor: Unifex
]
] ++ os_specific(Bundlex.get_target())
] ++ os_specific(Bundlex.platform())
end

defp os_specific(%{os: "darwin" <> _rest}) do
defp os_specific(:macosx) do
[
osx_permissions: [
interface: :nif,
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane_portaudio_plugin/osx_permissions.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if Bundlex.get_target().os |> String.starts_with?("darwin") do
if Bundlex.platform() == :macosx do
defmodule Membrane.PortAudio.OSXPermissions do
@moduledoc false

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defmodule Membrane.PortAudio.Mixfile do
{:membrane_common_c, "~> 0.16.0"},
{:bunch, "~> 1.5"},
{:membrane_raw_audio_format, "~> 0.12.0"},
{:bundlex, "~> 1.3"},
{:bundlex, "~> 1.4"},
{:membrane_precompiled_dependency_provider, "~> 0.1.0"},
# Testing
{:mockery, "~> 2.1", runtime: false},
Expand Down