Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
a653aed4
Unverified
Commit
a653aed4
authored
Feb 25, 2018
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Ionic-bugfix/FTBFS-non-ELF' into 3.6.x
Attributes GH PR #663:
https://github.com/ArcticaProject/nx-libs/pull/663
parents
dd1ae176
06c14b83
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
1 deletion
+31
-1
nx-macros.m4
m4/nx-macros.m4
+17
-0
configure.ac
nxcompshad/configure.ac
+2
-0
Makefile.am
nxcompshad/src/Makefile.am
+5
-1
configure.ac
nxproxy/configure.ac
+2
-0
Makefile.am
nxproxy/src/Makefile.am
+5
-0
No files found.
m4/nx-macros.m4
View file @
a653aed4
...
...
@@ -407,6 +407,23 @@ FreeBSD=
test "$nxconf_cv_freebsd" = yes && FreeBSD=yes
]) # NX_BUILD_ON_FreeBSD
# Check to see if we're generating binaries in ELF format.
AC_DEFUN([NX_TARGET_USE_ELF],
[AC_CACHE_CHECK([if target system is ELF-based], [nxconf_cv_targetelf],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[
#ifndef __ELF__
#error not an ELF-based system
error!
#endif
]],
[[
]])],
[nxconf_cv_targetelf=yes], [nxconf_cv_targetelf=no])])
AM_CONDITIONAL([TARGET_ELF], [test x"$nxconf_cv_targetelf" = "xyes"])
]) # NX_TARGET_USE_ELF
AC_DEFUN([LIBJPEG_FALLBACK_CHECK],[
AC_MSG_CHECKING([for libjpeg shared libary file and headers])
AC_CHECK_LIB([jpeg], [jpeg_destroy_compress],
...
...
nxcompshad/configure.ac
View file @
a653aed4
...
...
@@ -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)])],
...
...
nxcompshad/src/Makefile.am
View file @
a653aed4
...
...
@@ -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
\
...
...
nxproxy/configure.ac
View file @
a653aed4
...
...
@@ -26,6 +26,8 @@ AC_LANG([C])
NX_COMPILER_BRAND
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.
...
...
nxproxy/src/Makefile.am
View file @
a653aed4
...
...
@@ -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)
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment