From 06c14b83184f30498e27fed435d38d6e33338f2c Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Sun, 25 Feb 2018 04:35:07 +0100 Subject: nxproxy/{configure.ac,src/Makefile.am}: only enable new ELF dtags if target system actually is ELF-based. Fixes: ArcticaProject/nx-libs#661 --- nxproxy/src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nxproxy/src') diff --git a/nxproxy/src/Makefile.am b/nxproxy/src/Makefile.am index ecf2a0486..fbe52cbf8 100644 --- a/nxproxy/src/Makefile.am +++ b/nxproxy/src/Makefile.am @@ -15,8 +15,13 @@ nxproxy_LDADD = \ nxproxy_LDFLAGS = \ $(PTHREAD_LDFLAGS) \ + $(NULL) + +if TARGET_ELF +nxproxy_LDFLAGS += \ -Wl,--enable-new-dtags \ $(NULL) +endif TARGET_ELF nxproxy_CFLAGS = \ $(BASE_CFLAGS) \ -- cgit v1.2.3