Skip to content

Commit

Permalink
[build] Add iconv to LDLIBS
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Apr 25, 2021
1 parent 7b7696b commit a6cf597
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion compiler/Makefile.Cygwin
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ include Makefile.win32
# Sharable libraries have .dll extension
SOEXTENSION = dll

# Flags to send to compiler
# Flags to send to compiler and linker
CFLAGS += -funsigned-char
LDLIBS += -liconv

# If Cgreen is installed correctly and completely theses things should just work
# Otherwise you can try to set them to something that does work
Expand Down
2 changes: 1 addition & 1 deletion compiler/Makefile.Darwin
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include ../mk/include_guard.mk
#

CFLAGS += -funsigned-char -Wno-invalid-source-encoding
LDFLAGS += -liconv
LDLIBS += -liconv

# Sharable libraries extension
SOEXTENSION = dylib
2 changes: 1 addition & 1 deletion compiler/Makefile.local.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ winalan: CC=i686-w64-mingw32-gcc # or possibly just "gcc"
winalan: WINDRES=i686-w64-mingw32-windres # or possibly just "windres"

# We might need to locate -lcgreen
linked_unittests isolated_unittests: LDLIBS = -L/usr/local/lib
linked_unittests isolated_unittests: LDLIBS += -L/usr/local/lib
Binary file modified regression/platforms/Cygwin.a3c
Binary file not shown.

0 comments on commit a6cf597

Please sign in to comment.