Skip to content

Commit

Permalink
as discussed by @nalimilan in #7917, make it easier to link -lutf8pro…
Browse files Browse the repository at this point in the history
…c if desired by the packager
  • Loading branch information
stevengj committed Aug 11, 2014
1 parent 640ccec commit 71f6d99
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ USE_SYSTEM_ZLIB=0
USE_SYSTEM_GRISU=0
USE_SYSTEM_RMATH=0
USE_SYSTEM_LIBUV=0
USE_SYSTEM_UTF8PROC=0
USE_SYSTEM_MOJIBAKE=0

# Link to the LLVM shared library
Expand Down Expand Up @@ -534,7 +535,11 @@ endif
ifeq ($(USE_SYSTEM_MOJIBAKE), 1)
LIBMOJIBAKE = -lmojibake
else
LIBMOJIBAKE = $(build_libdir)/libmojibake.a
ifeq ($(USE_SYSTEM_UTF8PROC), 1)
LIBMOJIBAKE = -lutf8proc
else
LIBMOJIBAKE = $(build_libdir)/libmojibake.a
endif
endif

# OS specific stuff
Expand Down

0 comments on commit 71f6d99

Please sign in to comment.