diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-12-16 08:38:29 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-12-16 08:38:29 +0100 |
commit | 404e6634a3af5352043bcb5c2c57ec25c8728281 (patch) | |
tree | b0a89bb0f37642910b2e3b5e277d22b6a3223ab8 /nx-X11/programs/Xserver/hw/nxagent/compext | |
parent | e37532ca89876b782d5034a1f0fc126327b6e470 (diff) | |
download | nx-libs-404e6634a3af5352043bcb5c2c57ec25c8728281.tar.gz nx-libs-404e6634a3af5352043bcb5c2c57ec25c8728281.tar.bz2 nx-libs-404e6634a3af5352043bcb5c2c57ec25c8728281.zip |
zlib compatibility: whenever we want -I flags only, assume that the headers are directly available.
Especially don't add linking flags willy-nilly.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/compext')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile b/nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile index 06c686c0f..407baab80 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile +++ b/nx-X11/programs/Xserver/hw/nxagent/compext/Imakefile @@ -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) |