aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-10 04:31:24 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-10 04:31:24 +0000
commitd743ba1e9bf45b532c18ea437476984c0e2f0c44 (patch)
tree9424ee47f86f76054b196634ca1bafc2745f1fa0 /dlfcn/Makefile
parent04470dc03e2d56b1acc0c152d9ad50bdf1066bfa (diff)
downloadglibc-d743ba1e9bf45b532c18ea437476984c0e2f0c44.tar
glibc-d743ba1e9bf45b532c18ea437476984c0e2f0c44.tar.gz
glibc-d743ba1e9bf45b532c18ea437476984c0e2f0c44.tar.bz2
glibc-d743ba1e9bf45b532c18ea437476984c0e2f0c44.zip
Update.
2000-06-09 H.J. Lu <hjl@gnu.org> * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL after freeing it. * dlfcn/Makefile (distribute): Add failtestmod.c. (tests): Add failtest. Add rules to build and run failtest. * dlfcn/failtest.c: New file. * dlfcn/failtestmod.c: New file.
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r--dlfcn/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index d14d382702..ed725639ef 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -20,7 +20,7 @@ subdir := dlfcn
headers := bits/dlfcn.h dlfcn.h
extra-libs := libdl
libdl-routines := dlopen dlclose dlsym dlvsym dlerror dladdr
-distribute := dlopenold.c glreflib1.c glreflib2.c
+distribute := dlopenold.c glreflib1.c glreflib2.c failtestmod.c
extra-libs-others := libdl
@@ -32,9 +32,9 @@ libdl-shared-only-routines := dlopenold
endif
ifeq (yes,$(build-shared))
-tests = glrefmain
+tests = glrefmain failtest
endif
-modules-names = glreflib1 glreflib2
+modules-names = glreflib1 glreflib2 failtestmod
extra-objs += $(modules-names:=.os)
include ../Rules
@@ -46,3 +46,6 @@ $(test-modules): $(objpfx)%.so: $(objpfx)%.os
$(objpfx)glrefmain: $(objpfx)libdl.so
$(objpfx)glrefmain.out: $(objpfx)glrefmain \
$(objpfx)glreflib1.so $(objpfx)glreflib2.so
+
+$(objpfx)failtest: $(libdl)
+$(objpfx)failtest.out: $(objpfx)failtestmod.so