summaryrefslogtreecommitdiff
path: root/dlfcn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r--dlfcn/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index bf20063902..39f18d7c7b 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -16,6 +16,9 @@
# <http://www.gnu.org/licenses/>.
subdir := dlfcn
+
+include ../Makeconfig
+
headers := bits/dlfcn.h dlfcn.h
extra-libs := libdl
libdl-routines := dlopen dlclose dlsym dlvsym dlerror dladdr dladdr1 dlinfo \
@@ -25,8 +28,6 @@ elide-routines.os := $(routines)
extra-libs-others := libdl
-include ../Makeconfig
-
ifeq ($(build-shared),yes)
libdl-routines += dlopenold
libdl-shared-only-routines := dlopenold dlfcn