Mercurial > pub > dyncall > dyncall
diff test/resolve_self/Makefile.generic @ 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 | 7520e2260097 |
children | 2536413edfd8 |
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}