aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-06 00:28:46 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-06 00:28:46 +0000
commit472d82fc06664bea2859cb94b4469c48af2d10d1 (patch)
tree04f72e64c13204a2216c8147ce6a6f8d2b6a3fbb /dlfcn/Makefile
parent37d8b77856be9eb9581c3c61d3f7193b3aec6b5c (diff)
downloadglibc-472d82fc06664bea2859cb94b4469c48af2d10d1.tar
glibc-472d82fc06664bea2859cb94b4469c48af2d10d1.tar.gz
glibc-472d82fc06664bea2859cb94b4469c48af2d10d1.tar.bz2
glibc-472d82fc06664bea2859cb94b4469c48af2d10d1.zip
Update.
* dlfcn/Makefile: Add rules to build and run bug-dlopen1. * dlfcn/bug-dlopen1.c: New file. By Bruno Haible.
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r--dlfcn/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index f359f56d82..abe40965ab 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -35,7 +35,7 @@ endif
libdl-shared-only-routines += eval
ifeq (yes,$(build-shared))
-tests = glrefmain failtest tst-dladdr default errmsg1 tstcxaatexit
+tests = glrefmain failtest tst-dladdr default errmsg1 tstcxaatexit bug-dlopen1
ifeq (yes,$(have-protected))
tests += tstatexit
endif
@@ -93,6 +93,8 @@ $(objpfx)tststatic.out: $(objpfx)tststatic $(objpfx)modstatic.so
$(objpfx)modstatic.so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a
+$(objpfx)bug-dlopen1: $(libdl)
+
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
# This ensures they will load libc.so for needed symbols if loaded by
# a statically-linked program that hasn't already loaded it.