Commit 990e61cc authored by Mihai Moldovan's avatar Mihai Moldovan

nxcompshad/{configure.ac,src/Makefile.am}: only enable new ELF dtags if target…

nxcompshad/{configure.ac,src/Makefile.am}: only enable new ELF dtags if target system actually is ELF-based.
parent be1ae708
......@@ -47,6 +47,8 @@ AC_LANG([C++])
NX_COMPILER_BRAND
NX_DEFAULT_OPTIONS
NX_TARGET_USE_ELF
AC_ARG_ENABLE([cxx11],
[AS_HELP_STRING([--enable-cxx11],
[enable optional features requiring C++11 support (disabled by default)])],
......
......@@ -39,10 +39,14 @@ AM_CPPFLAGS = \
libXcompshad_la_LDFLAGS = \
-version-number @LT_COMPSHAD_VERSION@ -no-undefined \
-Wl,--enable-new-dtags \
-R '$(libdir)/nx/X11' \
$(NULL)
if TARGET_ELF
libXcompshad_la_LDFLAGS += \
-Wl,--enable-new-dtags \
endif TARGET_ELF
libXcompshadincludedir = $(includedir)/nx
libXcompshadinclude_HEADERS = \
$(top_srcdir)/include/Shadow.h \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment