Blame env-builder-data/build/script/packet/dlfcnwin32-1.1.1.sh

31c087
31c087
PK_DIRNAME="dlfcn-win32-1.1.1"
31c087
PK_ARCHIVE="v1.1.1.tar.gz"
31c087
PK_URL="https://github.com/dlfcn-win32/dlfcn-win32/archive/$PK_ARCHIVE"
31c087
31c087
source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh
31c087
31c087
31c087
pkbuild() {
31c087
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME" || return 1
31c087
31c087
    if ! check_packet_function $NAME build.configure; then
31c087
        cc="$CC" ./configure \
31c087
            --prefix="$INSTALL_PACKET_DIR" \
31c087
            --disable-static \
31c087
            --enable-shared \
31c087
         || return 1
31c087
        set_done $NAME build.configure
31c087
    fi
31c087
    
31c087
    make -j${THREADS} || return 1
31c087
}
31c087