changeset 620:14c582c828b9

- test/resolve_self: use a more portable linker option to export exec symbols (fixes some builds)
author Tassilo Philipp
date Mon, 03 Oct 2022 16:52:15 +0200
parents c754150fe87f
children 2536413edfd8
files test/resolve_self/Makefile.generic
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/resolve_self/Makefile.generic	Mon Oct 03 13:49:19 2022 +0200
+++ b/test/resolve_self/Makefile.generic	Mon Oct 03 16:52:15 2022 +0200
@@ -3,7 +3,7 @@
 SRCTOP    = ${VPATH}/../..
 BLDTOP    = ../..
 CFLAGS   += -I${SRCTOP}/dynload
-LDFLAGS  += -rdynamic
+LDFLAGS  += -Wl,--export-dynamic
 LDLIBS_D  = -L${BLDTOP}/dynload -ldynload_s 
 .PHONY: all clean install
 all: ${APP}