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"
|
||||
fi
|
||||
|
||||
if [ "x$needdraw" = xtrue -a "x$WSYSTYPE" != xnowsys ]
|
||||
if [ "x$needX11" = xtrue -a "x$WSYSTYPE" != xnowsys ]
|
||||
then
|
||||
if [ "x$X11" = "x" ]
|
||||
then
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include <memdraw.h>
|
||||
#include "x11-memdraw.h"
|
||||
|
||||
AUTOLIB(X11);
|
||||
|
||||
/*
|
||||
* Allocate a Memimage with an optional pixmap backing on the X server.
|
||||
*/
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#undef Screen
|
||||
#undef Visual
|
||||
#undef Window
|
||||
AUTOLIB(X11);
|
||||
#ifdef __APPLE__
|
||||
#define APPLESNARF
|
||||
#define Boolean AppleBoolean
|
||||
|
|
Loading…
Reference in a new issue