diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-08-15 04:36:01 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-08-15 04:36:01 (GMT) |
commit | 5c5bf49b0d6dc5473940d21a17b5eb86c7967450 (patch) | |
tree | 860141fc37b922c0354623e75431779034a302a6 /src/gdb.mk | |
parent | d24662444c3d2e644b46f19517b8a85c24d41686 (diff) | |
download | mxe-5c5bf49b0d6dc5473940d21a17b5eb86c7967450.zip mxe-5c5bf49b0d6dc5473940d21a17b5eb86c7967450.tar.gz mxe-5c5bf49b0d6dc5473940d21a17b5eb86c7967450.tar.bz2 |
gdb: fix dlfcn detection
fixes #1486
Diffstat (limited to 'src/gdb.mk')
-rw-r--r-- | src/gdb.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,7 @@ $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) -$(PKG)_DEPS := gcc expat libiconv readline zlib +$(PKG)_DEPS := gcc dlfcn-win32 expat libiconv readline zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gdb/?C=M;O=D' | \ @@ -21,6 +21,7 @@ define $(PKG)_BUILD cd '$(1)' && ./configure \ $(MXE_CONFIGURE_OPTS) \ --with-system-readline \ + host_configargs="LIBS=\"`$(TARGET)-pkg-config --libs dlfcn`\"" \ CONFIG_SHELL=$(SHELL) $(MAKE) -C '$(1)' -j '$(JOBS)' |