Use BUILD_DEPENDS option for dkms builds
[zfs.git] / scripts / dkms.mkconf
index 2e07be4..62caa4b 100755 (executable)
@@ -52,6 +52,7 @@ POST_INSTALL="scripts/dkms.postinst
   -k \${kernelver}
   -t \${dkms_tree}
 "
+BUILD_DEPENDS[0]="spl"
 AUTOINSTALL="yes"
 REMAKE_INITRD="no"
 MAKE[0]="make"