X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6419c9b57c33a8a26d2775f01629f899afb61026..7ea35f9f8ecf61ab42be9947aae1176ab6e089bd:/Makefile diff --git a/Makefile b/Makefile index 1e34129..f4c5b8a 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin) NEEDS_LIBICONV = YesPlease endif +ifeq ($(uname_S),$(filter $(uname_S),FreeBSD OpenBSD)) + # Apparantly libiconv is installed in /usr/local on BSD + LDFLAGS ?= -L/usr/local/lib + CFLAGS ?= -I/usr/local/include + NEEDS_LIBICONV = yes +endif + # # Let the user override the above settings. #