Mercurial > mxe-octave
comparison src/uuid.mk @ 3767:8b8a7593b08a
uuid: use mingw-w64 instead of w32
* src/uuid.mk: use mingw-w64, make shared lib using the installed libuuid.a
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 10 Jan 2015 20:13:01 -0500 |
parents | 13be64f9f16d |
children | f981744a8f4a |
comparison
equal
deleted
inserted
replaced
3766:fbf92b059645 | 3767:8b8a7593b08a |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := uuid | 4 PKG := uuid |
5 $(PKG)_IGNORE = $(w32api_IGNORE) | 5 $(PKG)_IGNORE = $(mingw-w64_IGNORE) |
6 $(PKG)_VERSION := 3.17 | 6 $(PKG)_VERSION := 3.17 |
7 $(PKG)_CHECKSUM = $(w32api_CHECKSUM) | 7 $(PKG)_CHECKSUM = $(mingw-w64_CHECKSUM) |
8 $(PKG)_SUBDIR = $(w32api_SUBDIR) | 8 $(PKG)_SUBDIR = $(mingw-w64_SUBDIR) |
9 $(PKG)_FILE = $(w32api_FILE) | 9 $(PKG)_FILE = $(mingw-w64_FILE) |
10 $(PKG)_URL = $(w32api_URL) | 10 $(PKG)_URL = $(mingw-w64_URL) |
11 $(PKG)_DEPS = | 11 $(PKG)_DEPS = |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 echo "$(w32api_VERSION)" | 14 echo "$(w32api_VERSION)" |
15 endef | 15 endef |
16 | 16 |
17 define $(PKG)_BUILD | 17 define $(PKG)_BUILD |
18 if [ $(BUILD_SHARED) = yes ]; then \ | 18 if [ $(BUILD_SHARED) = yes ]; then \ |
19 $(INSTALL) -d '$(HOST_BINDIR)'; \ | 19 $(INSTALL) -d '$(HOST_BINDIR)'; \ |
20 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(1)/lib/libuuid.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ | 20 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libuuid.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ |
21 rm -f '$(HOST_LIBDIR)/libuuid.dll.a'; \ | |
22 fi | 21 fi |
23 endef | 22 endef |