summaryrefslogtreecommitdiffstats
path: root/plugins/native/libiconv.mk
blob: 922739ac6bace56e76e6e22046bac0aca0a363a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This file is part of MXE. See LICENSE.md for licensing information.

PKG                  := libiconv
$(PKG)_TARGETS       := $(BUILD) $(MXE_TARGETS)
$(PKG)_DEPS_$(BUILD) :=

define $(PKG)_BUILD_$(BUILD)
    mkdir '$(1).build'
    cd    '$(1).build' && '$(1)/configure' \
        --prefix='$(PREFIX)/$(TARGET)' \
        --disable-shared
    $(MAKE) -C '$(1).build' -j '$(JOBS)' man1_MANS=
    $(MAKE) -C '$(1).build' -j 1 install man1_MANS=
endef