diff options
author | fjoe <fjoe@FreeBSD.org> | 2004-09-08 17:27:31 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2004-09-08 17:27:31 +0000 |
commit | 7531fcdf4d33e65f0cf2f20420bc8c21b122e4c1 (patch) | |
tree | 0cb1df5b799706fe963f4353a2cfdd3e76799f46 | |
parent | 555e9e698dd83e228789ce2f2ae4cc88344d4892 (diff) | |
download | FreeBSD-src-7531fcdf4d33e65f0cf2f20420bc8c21b122e4c1.zip FreeBSD-src-7531fcdf4d33e65f0cf2f20420bc8c21b122e4c1.tar.gz |
Do not compile in zlib.c. Add a dependency on module instead.
-rw-r--r-- | sys/geom/uzip/g_uzip.c | 3 | ||||
-rw-r--r-- | sys/modules/geom/geom_uzip/Makefile | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/uzip/g_uzip.c b/sys/geom/uzip/g_uzip.c index 17633a0..acb253b 100644 --- a/sys/geom/uzip/g_uzip.c +++ b/sys/geom/uzip/g_uzip.c @@ -518,4 +518,5 @@ static struct g_class g_uzip_class = { .spoiled = g_uzip_spoiled, }; -DECLARE_GEOM_CLASS(g_uzip_class, g_uzip); +DECLARE_GEOM_CLASS(g_uzip_class, geom_uzip); +MODULE_DEPEND(geom_uzip, zlib, 1, 1, 1); diff --git a/sys/modules/geom/geom_uzip/Makefile b/sys/modules/geom/geom_uzip/Makefile index 1b0a1a8..8e46845 100644 --- a/sys/modules/geom/geom_uzip/Makefile +++ b/sys/modules/geom/geom_uzip/Makefile @@ -3,7 +3,7 @@ .PATH: ${.CURDIR}/../../../geom/uzip ${.CURDIR}/../../../net KMOD= geom_uzip -SRCS= g_uzip.c zlib.c +SRCS= g_uzip.c #CFLAGS= -g .include <bsd.kmod.mk> |