diff options
author | Ian Lance Taylor <ian@airs.com> | 2013-01-11 14:36:36 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2013-01-11 14:36:36 +0000 |
commit | 0bf402d505d293fd9ceaa6bf7ca7bd4d910fd545 (patch) | |
tree | 9d92a8f7030fe7448d65f6e1e46461c584dbf8db /gold/Makefile.am | |
parent | 02be4619f1326faebdf539a45539ba83e689470c (diff) | |
download | gdb-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.am | 5 |
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 |