aboutsummaryrefslogtreecommitdiff
path: root/bin/9l
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-11 16:52:08 +0000
committerrsc <devnull@localhost>2005-02-11 16:52:08 +0000
commit0d85a1cf7df9d185da1327da43dc62d2447ad32c (patch)
tree28abbe9200235ba65e5572e94125a63c1e7e086f /bin/9l
parent2a931b7266c8a6550aca5f75b2ce3bf8655aa45b (diff)
downloadplan9port-0d85a1cf7df9d185da1327da43dc62d2447ad32c.tar.gz
plan9port-0d85a1cf7df9d185da1327da43dc62d2447ad32c.tar.bz2
plan9port-0d85a1cf7df9d185da1327da43dc62d2447ad32c.zip
fix libsec lib9 cycle
Diffstat (limited to 'bin/9l')
-rwxr-xr-xbin/9l7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/9l b/bin/9l
index 7e8c90dc..2d08a470 100755
--- a/bin/9l
+++ b/bin/9l
@@ -97,6 +97,7 @@ then
eval "have$i() { false; }"
done
havethread() { false; }
+ havesec() { false; }
# now find correct order
libsl=""
@@ -141,6 +142,12 @@ then
libsl="$libsl -lthread -l9"
fi
+ # cycle: lib9 netcrypt uses libsec
+ if havesec
+ then
+ libsl="$libsl -lsec -l9"
+ fi
+
if [ "x$needdraw" = xtrue ]
then
if [ "x$X11" = "x" ]