mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
-ldraw no longer implies -lX11
This commit is contained in:
parent
09cd35eb36
commit
a741551866
3 changed files with 4 additions and 1 deletions
2
bin/9l
2
bin/9l
|
@ -168,7 +168,7 @@ then
|
||||||
libsl="$libsl -lresolv"
|
libsl="$libsl -lresolv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "x$needdraw" = xtrue -a "x$WSYSTYPE" != xnowsys ]
|
if [ "x$needX11" = xtrue -a "x$WSYSTYPE" != xnowsys ]
|
||||||
then
|
then
|
||||||
if [ "x$X11" = "x" ]
|
if [ "x$X11" = "x" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
#include <memdraw.h>
|
#include <memdraw.h>
|
||||||
#include "x11-memdraw.h"
|
#include "x11-memdraw.h"
|
||||||
|
|
||||||
|
AUTOLIB(X11);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate a Memimage with an optional pixmap backing on the X server.
|
* Allocate a Memimage with an optional pixmap backing on the X server.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#undef Screen
|
#undef Screen
|
||||||
#undef Visual
|
#undef Visual
|
||||||
#undef Window
|
#undef Window
|
||||||
|
AUTOLIB(X11);
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define APPLESNARF
|
#define APPLESNARF
|
||||||
#define Boolean AppleBoolean
|
#define Boolean AppleBoolean
|
||||||
|
|
Loading…
Reference in a new issue