summaryrefslogtreecommitdiffstats
path: root/src/libltdl.mk
blob: 345e136f812ea8b8bc158356d5dd4fc5c1b876d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file is part of MXE.
# See index.html for further information.

PKG             := libltdl
$(PKG)_IGNORE    = $(libtool_IGNORE)
$(PKG)_VERSION   = $(libtool_VERSION)
$(PKG)_CHECKSUM  = $(libtool_CHECKSUM)
$(PKG)_SUBDIR    = $(libtool_SUBDIR)
$(PKG)_FILE      = $(libtool_FILE)
$(PKG)_URL       = $(libtool_URL)
$(PKG)_DEPS     := gcc dlfcn-win32

define $(PKG)_UPDATE
    echo $(libtool_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)/libltdl' && ./configure \
        $(MXE_CONFIGURE_OPTS) \
        --enable-ltdl-install
    $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
    $(MAKE) -C '$(1)/libltdl' -j 1 install
endef