view src/uuid.mk @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents 79c7aec27739
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := uuid
$(PKG)_IGNORE   = $(mingw-w64_IGNORE)
$(PKG)_VERSION  = 3.17
$(PKG)_CHECKSUM = $(mingw-w64_CHECKSUM)
$(PKG)_SUBDIR   = $(mingw-w64_SUBDIR)
$(PKG)_FILE     = $(mingw-w64_FILE)
$(PKG)_URL      = $(mingw-w64_URL)
$(PKG)_DEPS     = mingw-w64

define $(PKG)_UPDATE
    echo "$($(PKG)_VERSION)"
endef

define $(PKG)_BUILD
    if [ $(BUILD_SHARED) = yes ]; then \
      $(INSTALL) -d '$(HOST_BINDIR)'; \
      $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libuuid.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \
      rm -f $(HOST_LIBDIR)/libuuid.dll.a; \
    fi
endef