diff options
author | Tony Theodore <tonyt@logyst.com> | 2020-06-19 12:54:45 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2020-06-19 12:54:45 (GMT) |
commit | 695c99469b566f35b864927c6d0db9602ea19a4c (patch) | |
tree | 7e0338b1b9fe9ce5ad4ab989cc068cd7628c26b6 /src/gcc.mk | |
parent | 6c682c678a1bef93335590931239e0526eb88c2d (diff) | |
download | mxe-695c99469b566f35b864927c6d0db9602ea19a4c.zip mxe-695c99469b566f35b864927c6d0db9602ea19a4c.tar.gz mxe-695c99469b566f35b864927c6d0db9602ea19a4c.tar.bz2 |
gcc: disable libdl detection
closes #2526
Diffstat (limited to 'src/gcc.mk')
-rw-r--r-- | src/gcc.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -55,6 +55,14 @@ define $(PKG)_CONFIGURE endef define $(PKG)_BUILD_mingw-w64 + # `configure`'s libdl detection: + # - bypasses the gcc/mingw use of `LoadLibrary` + # - adds unnecessary dependency + # - causes unexpected linking errors + # - can't be reliably disabled in all subdirs + # safe option is `make clean`, but we don't want to enforce that + -rm -v '$(PREFIX)/$(TARGET)'/{lib,bin}/libdl.* + # install mingw-w64 headers $(call PREPARE_PKG_SOURCE,mingw-w64,$(BUILD_DIR)) mkdir '$(BUILD_DIR).headers' |