summaryrefslogtreecommitdiffstats
path: root/contrib/libiconv/module.defs
blob: be20e6849111cab4a12c4f4c995c552fd29dd11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$(eval $(call import.MODULE.defs,LIBICONV,libiconv))
$(eval $(call import.CONTRIB.defs,LIBICONV))

LIBICONV.FETCH.url     = https://download.handbrake.fr/handbrake/contrib/libiconv-1.15.tar.gz
LIBICONV.FETCH.url    += https://ftp.gnu.org/gnu/libiconv/libiconv-1.15.tar.gz
LIBICONV.FETCH.sha256  = ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178

ifeq (1,$(HOST.cross))
# this contrib will not build under MinGW with -std=gnu99
    ifeq (mingw,$(HOST.system))
        LIBICONV.GCC.args.c_std = -std=gnu89
    endif

    ifeq (msys,$(BUILD.system))
        LIBICONV.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
    endif
endif