mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
Makefile: support FreeBSD libiconv paths
According to Dan Rue <drue@therub.org>, FreeBSD requires the lib paths to get libiconv from /usr/local.
This commit is contained in:
parent
1cb8b494a5
commit
2853692a9e
7
Makefile
7
Makefile
@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin)
|
|||||||
NEEDS_LIBICONV = YesPlease
|
NEEDS_LIBICONV = YesPlease
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(uname_S),FreeBSD)
|
||||||
|
# Apparantly libiconv is installed in /usr/local on FreeBSD
|
||||||
|
LDFLAGS ?= -L/usr/local/lib
|
||||||
|
CFLAGS ?= -I/usr/local/include
|
||||||
|
NEEDS_LIBICONV = yes
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Let the user override the above settings.
|
# Let the user override the above settings.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user