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

PKG                  := libtool
$(PKG)_DEPS_$(BUILD) := autoconf automake

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