Skip to content

Commit

Permalink
compile flags for cmdshell
Browse files Browse the repository at this point in the history
  • Loading branch information
SergejJurecko committed Jul 26, 2018
1 parent bdb688a commit b9e4850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),Darwin)
SHELLCMD = gcc c_src/cmdshell.c -I/usr/local/opt/readline/include/ /usr/local/opt/readline/lib/libreadline.a -lncurses -o priv/cmdshell
else
SHELLCMD = gcc c_src/cmdshell.c -Wl,-Bstatic -lreadline -lncurses -o priv/cmdshell
SHELLCMD = gcc c_src/cmdshell.c -static -Wl,-Bdynamic,-lgcc_s,-Bstatic -lreadline -lncurses -ltinfo -o priv/cmdshell
endif

ifeq ($(uname_S),Darwin)
Expand Down

0 comments on commit b9e4850

Please sign in to comment.