aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-25 15:03:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-25 15:03:52 +0100
commita653aed4c0f0c83185fca8076559ae10553ec11f (patch)
treedc732ad657d21942d1d964763ab301a2672299f3 /nxcompshad
parentdd1ae1769858b7467bd4cde2b83b1cda8653c983 (diff)
parent06c14b83184f30498e27fed435d38d6e33338f2c (diff)
downloadnx-libs-a653aed4c0f0c83185fca8076559ae10553ec11f.tar.gz
nx-libs-a653aed4c0f0c83185fca8076559ae10553ec11f.tar.bz2
nx-libs-a653aed4c0f0c83185fca8076559ae10553ec11f.zip
Merge branch 'Ionic-bugfix/FTBFS-non-ELF' into 3.6.x
Attributes GH PR #663: https://github.com/ArcticaProject/nx-libs/pull/663
Diffstat (limited to 'nxcompshad')
-rw-r--r--nxcompshad/configure.ac2
-rw-r--r--nxcompshad/src/Makefile.am6
2 files changed, 7 insertions, 1 deletions
diff --git a/nxcompshad/configure.ac b/nxcompshad/configure.ac
index 932fb45a8..f493bdf0e 100644
--- a/nxcompshad/configure.ac
+++ b/nxcompshad/configure.ac
@@ -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)])],
diff --git a/nxcompshad/src/Makefile.am b/nxcompshad/src/Makefile.am
index f7beac86e..4580149ad 100644
--- a/nxcompshad/src/Makefile.am
+++ b/nxcompshad/src/Makefile.am
@@ -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 \