diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-04-07 21:36:05 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-04-07 21:36:05 +0200 |
commit | cb5c042a181fba3540952991b48382fabedaf88c (patch) | |
tree | 9844249f3536956e627d24a46394b920655ce8ee /nxproxy | |
parent | 59305c8b98d1046806e1cb80e2c7ba023c6f49cd (diff) | |
parent | dd0d49c4ef08ddd0e6cb8e689f07ee84b51c2974 (diff) | |
download | nx-libs-cb5c042a181fba3540952991b48382fabedaf88c.tar.gz nx-libs-cb5c042a181fba3540952991b48382fabedaf88c.tar.bz2 nx-libs-cb5c042a181fba3540952991b48382fabedaf88c.zip |
Merge branch 'Ionic-bugfix/libXcomp-pthread-underlinking' into 3.6.x
Attributes GH PR #791: https://github.com/ArcticaProject/nx-libs/pull/791
Diffstat (limited to 'nxproxy')
-rw-r--r-- | nxproxy/configure.ac | 11 | ||||
l--------- | nxproxy/m4/ax_pthread.m4 | 1 | ||||
-rw-r--r-- | nxproxy/src/Makefile.am | 3 |
3 files changed, 0 insertions, 15 deletions
diff --git a/nxproxy/configure.ac b/nxproxy/configure.ac index 6a0a41cbb..2ca64f61e 100644 --- a/nxproxy/configure.ac +++ b/nxproxy/configure.ac @@ -28,17 +28,6 @@ NX_DEFAULT_OPTIONS NX_TARGET_USE_ELF -dnl This is a workaround for a nasty libtool bug. -dnl We actually compile libXcomp with pthread support, but libtool uses g++ ... -nostdlib ... -pthread -dnl on Linux. -nostdlib causes -pthread to be ignored. -dnl According to GCC upstream, this is not a bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 -dnl GCC upstream insists that libtool needs to handle -pthread in a special way when using -nostdlib. -dnl A patch has been submitted to the libtool project: http://lists.gnu.org/archive/html/libtool-patches/2013-11/msg00015.html -dnl but never applied to the code base. Boo. -dnl We will work around this bug by using AX_PTHREAD and linking with pthread support in all consumers of -dnl libXcomp for now. -AX_PTHREAD([], AC_MSG_ERROR([no POSIX threads support detected])) - AC_CONFIG_FILES([ Makefile man/Makefile diff --git a/nxproxy/m4/ax_pthread.m4 b/nxproxy/m4/ax_pthread.m4 deleted file mode 120000 index 156af3df3..000000000 --- a/nxproxy/m4/ax_pthread.m4 +++ /dev/null @@ -1 +0,0 @@ -../../m4/ax_pthread.m4
\ No newline at end of file diff --git a/nxproxy/src/Makefile.am b/nxproxy/src/Makefile.am index fbe52cbf8..20ec7022e 100644 --- a/nxproxy/src/Makefile.am +++ b/nxproxy/src/Makefile.am @@ -9,12 +9,10 @@ nxproxy_SOURCES = \ $(NULL) nxproxy_LDADD = \ - @PTHREAD_LIBS@ \ -L$(top_srcdir)/../nxcomp/src/.libs -lXcomp \ $(NULL) nxproxy_LDFLAGS = \ - $(PTHREAD_LDFLAGS) \ $(NULL) if TARGET_ELF @@ -25,7 +23,6 @@ endif TARGET_ELF nxproxy_CFLAGS = \ $(BASE_CFLAGS) \ - $(PTHREAD_CFLAGS) \ $(NULL) AM_CPPFLAGS = \ |