Skip to content

Commit

Permalink
sign off
Browse files Browse the repository at this point in the history
  • Loading branch information
Irsan van Wel committed Apr 4, 2018
2 parents 7ab90cb + ec5538c commit 8202deb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# erlsass
Compile Sass/Scss implemented as Erlang NIF using libsass.

## Confirmed to work on:
## Known to work on:
- Ubuntu 17.10
-
- Windows 10 x64 (Compile via MinGW gcc)

## API

Expand Down
1 change: 1 addition & 0 deletions c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ CXXFLAGS ?= -O3 -finline-functions -Wall
CFLAGS += -I "$(ERTS_INCLUDE_DIR)" -I "$(ERL_INTERFACE_INCLUDE_DIR)" -I "libsass/include" -I "libsass"
CXXFLAGS += -I "$(ERTS_INCLUDE_DIR)" -I "$(ERL_INTERFACE_INCLUDE_DIR)" -I "libsass/include" "../priv/libsass.dll"


LDLIBS += -L "$(ERL_INTERFACE_LIB_DIR)" -lerl_interface -lei
LDFLAGS += -shared

Expand Down
4 changes: 2 additions & 2 deletions src/erlsass.erl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ init() ->
{win32, _Osname} ->
Path = os:getenv("PATH"),
os:putenv("PATH", Path ++ PrivDir ++ ";")
end,
end,

SharedLib = filename:join(PrivDir, ?LIBNAME),
erlang:load_nif(SharedLib, 0).

Expand Down

0 comments on commit 8202deb

Please sign in to comment.