aboutsummaryrefslogtreecommitdiff
path: root/gold/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2013-01-11 14:36:36 +0000
committerIan Lance Taylor <ian@airs.com>2013-01-11 14:36:36 +0000
commit0bf402d505d293fd9ceaa6bf7ca7bd4d910fd545 (patch)
tree9d92a8f7030fe7448d65f6e1e46461c584dbf8db /gold/Makefile.am
parent02be4619f1326faebdf539a45539ba83e689470c (diff)
downloadgdb-0bf402d505d293fd9ceaa6bf7ca7bd4d910fd545.zip
gdb-0bf402d505d293fd9ceaa6bf7ca7bd4d910fd545.tar.gz
gdb-0bf402d505d293fd9ceaa6bf7ca7bd4d910fd545.tar.bz2
Fix mingw gold build with plugins enabled
* Makefile.am: Replace -ldl with @DLOPEN_LIBS@. * configure.ac: Export DLOPEN_LIBS and add headers check. * plugin.cc: Handle non-dlfcn case. * Makefile.in: Regenerate. * config.in: Regenerate. * configure: Regenerate. * testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/Makefile.am')
-rw-r--r--gold/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/Makefile.am b/gold/Makefile.am
index df8dcb5..f6ced44 100644
--- a/gold/Makefile.am
+++ b/gold/Makefile.am
@@ -1,6 +1,7 @@
## Process this file with automake to generate Makefile.in
#
-# Copyright 2012 Free Software Foundation
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
+# Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -37,7 +38,7 @@ AM_CPPFLAGS = \
LIBIBERTY = ../libiberty/libiberty.a
if PLUGINS
-LIBDL = -ldl
+LIBDL = @DLOPEN_LIBS@
endif
if THREADS