netcat: fix build.

This commit is contained in:
Augustin Cavalier
2017-11-22 12:12:12 +01:00
parent a2b1db7c49
commit 611e130459

View File

@@ -24,13 +24,15 @@ BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:gcc
cmd:ld
"
BUILD()
{
make haiku
# make tries to static-link which obviously does not work
cc netcat.c -O -DHAIKU -lnetwork -o nc
}
INSTALL()