From b0bad46dae627f0177198ff10eb0875a30f57325 Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 3 Nov 2015 00:18:13 +0100 Subject: [PATCH] lib: hook libelf and libexecinfo (in order) into the build The ELF library must be built before the execinfo library that uses it. Bump the DragonFly version because ports will alter its behavior from this point forward. --- lib/Makefile | 5 ++++- sys/sys/param.h | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 8f2cc7deb6..e18b3dc3e6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -14,6 +14,7 @@ # libthread_xu must be built before libpthread. # libutil must be built before libpam. # libpthread must be built before libprop. +# libelf must be built before libexecinfo # # Otherwise, the SUBDIR list should be in alphabetical order. @@ -26,7 +27,9 @@ SUBDIR_ORDERED= ${_libc_r} \ libtacplus \ libthread_xu \ libutil \ - libpthread + libpthread \ + libelf \ + libexecinfo SUBDIR= ${SUBDIR_ORDERED} \ csu \ i18n_module \ diff --git a/sys/sys/param.h b/sys/sys/param.h index 641373a738..4209157842 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -128,9 +128,10 @@ * 400303 - environ and __progname are no longer linkable symbols * 400304 - Activate symbol versioning for libc.so (still on version 8) * 400305 - Add accept4() system call + * 400306 - Add libexecinfo to base */ #undef __DragonFly_version -#define __DragonFly_version 400305 /* propagated to newvers */ +#define __DragonFly_version 400306 /* propagated to newvers */ #include -- 2.11.4.GIT