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
404e6634
Commit
404e6634
authored
Dec 16, 2017
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zlib compatibility: whenever we want -I flags only, assume that the headers are directly available.
Especially don't add linking flags willy-nilly.
parent
e37532ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Imakefile
nx-X11/programs/Xserver/hw/nxagent/Imakefile
+2
-2
Imakefile
nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile
+1
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/Imakefile
View file @
404e6634
...
...
@@ -175,7 +175,7 @@ INCLUDES = \
$(VFBINCLUDES) \
`pkg-config --cflags-only-I libxml-2.0` \
`pkg-config --cflags-only-I pixman-1` \
$$(pkg-config --exists 'zlib' >/dev/null 2>&1 && pkg-config --
libs 'zlib' || echo "-lz"
) \
$$(pkg-config --exists 'zlib' >/dev/null 2>&1 && pkg-config --
cflags-only-I 'zlib'
) \
`pkg-config --cflags-only-I libpng` \
$(NULL)
#else
...
...
@@ -199,7 +199,7 @@ INCLUDES = \
$(VFBINCLUDES) \
`pkg-config --cflags-only-I libxml-2.0` \
`pkg-config --cflags-only-I pixman-1` \
$$(pkg-config --exists 'zlib' >/dev/null 2>&1 && pkg-config --
libs 'zlib' || echo "-lz"
) \
$$(pkg-config --exists 'zlib' >/dev/null 2>&1 && pkg-config --
cflags-only-I 'zlib'
) \
`pkg-config --cflags-only-I libpng` \
$(NULL)
#endif
...
...
nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile
View file @
404e6634
...
...
@@ -34,7 +34,7 @@ OBJS = \
-I$(XBUILDINCDIR) \
-I../../../../../lib/include/X11 \
`pkg-config --cflags-only-I pixman-1` \
$$(pkg-config --exists 'zlib' >/dev/null 2>&1 && pkg-config --
libs 'zlib' || echo "-lz"
) \
$$(pkg-config --exists 'zlib' >/dev/null 2>&1 && pkg-config --
cflags-only-I 'zlib'
) \
`pkg-config --cflags-only-I libpng` \
$(NULL)
...
...
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