lib9: pass $PLAN9_TARGET via CPP for get9root fallback value
Allows this function to always return the proper path in situations where the $PLAN9 environment variable is not set, i.e. a rc login shell.
This commit is contained in:
parent
f7b572818c
commit
521fc08180
3 changed files with 5 additions and 3 deletions
|
|
@ -175,6 +175,9 @@ HFILES=\
|
|||
%.$O: utf/%.c
|
||||
$CC $CFLAGS utf/$stem.c
|
||||
|
||||
get9root.$O: get9root.c
|
||||
$CC $CFLAGS -DPLAN9_TARGET=\"$PLAN9_TARGET\" get9root.c
|
||||
|
||||
XLIB=$PLAN9/lib/$LIB
|
||||
|
||||
testfmt: testfmt.$O $XLIB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue