Skip to content

Commit ec485b4

Browse files
committed
meson: Disable quota on NetBSD while addressing GitHub #1225
1 parent 28a7ff4 commit ec485b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meson.build

+6
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,12 @@ endif
964964

965965
enable_quota = get_option('with-quota')
966966

967+
if host_os == 'netbsd'
968+
have_quota = false
969+
cdata.set('NO_QUOTA_SUPPORT', 1)
970+
warning('quota is broken on NetBSD, see https://github.com/Netatalk/netatalk/issues/1225')
971+
endif
972+
967973
prop = cc.find_library('prop', required: false)
968974
quota = cc.find_library('quota', required: false)
969975
rpcsvc = cc.find_library('rpcsvc', required: false)

0 commit comments

Comments
 (0)