Skip to content

Commit

Permalink
fix #137
Browse files Browse the repository at this point in the history
  • Loading branch information
zacky1972 committed May 12, 2020
1 parent 6354f1a commit 56affb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pelemay/generator/builder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ defmodule Pelemay.Generator.Builder do
TARGET = ../priv/#{Generator.libnif_name(module)}.so
CFLAGS += -fPIC
ifeq ($(shell uname),Darwin)
ifndef CROSSCOMPILE
CFLAGS += -I`xcrun --show-sdk-path 2>/dev/null`/usr/include
LDFLAGS += -L`xcrun --show-sdk-path 2>/dev/null`/usr/lib
ifndef CROSSCOMPILE
LDFLAGS += -dynamiclib -undefined dynamic_lookup
endif
endif
Expand Down

0 comments on commit 56affb6

Please sign in to comment.