summaryrefslogtreecommitdiffstats
path: root/contrib/libiconv/module.defs
blob: 9c645cc382abbbd9528cff822de04caa4ff7845d (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,$(BUILD.cross))
# this contrib will not build under MinGW with -std=gnu99
    ifeq (mingw,$(BUILD.system))
        LIBICONV.GCC.args.c_std = -std=gnu89
    endif

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