]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
travis: turn off libmount on OSX
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 6 Aug 2020 16:10:28 +0000 (16:10 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Thu, 6 Aug 2020 16:15:31 +0000 (16:15 +0000)
Now that the absence of the sscanf modifiers no longer prevents Travis from building libmount
automatically it seems util-linux is failing to compile there with
```
In file included from disk-utils/fsck.c:49:

[1m./libmount/src/libmount.h:32:10: [0m[0;1;31mfatal error: [0m[1m'mntent.h' file not found[0m

[0;1;32m         ^~~~~~~~~~

[0m1 error generated.

make[2]: *** [disk-utils/fsck-fsck.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2
```

Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
.travis-functions.sh

index 9cdc2357fad8a09bbc45ba5961c7cd9ff3bcaebd..ae7b683ddf05312c6835d979c34c60c6f9287519 100755 (executable)
@@ -256,6 +256,7 @@ function osx_install_script
        OSX_CONFOPTS="
                --disable-ipcrm \
                --disable-ipcs \
+               --disable-libmount \
        "
 
        # workaround: glibtoolize could not find sed