Skip to content

Commit df9ebbf

Browse files
committed
depends: use "mkdir -p" when installing xproto
It looks like the mkdir detection in xproto is broken on Alpine. Ensure we always use `mkdir -p`. Fixes #32494.
1 parent fad009a commit df9ebbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

depends/packages/xproto.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ define $(package)_build_cmds
2121
$(MAKE)
2222
endef
2323

24+
# mkdir detection is broken on Alpine. Set MKDIRPROG to ensure we always
25+
# use "mkdir -p", and avoid parallelism issues during install.
2426
define $(package)_stage_cmds
25-
$(MAKE) DESTDIR=$($(package)_staging_dir) install
27+
$(MAKE) MKDIRPROG="mkdir -p" DESTDIR=$($(package)_staging_dir) install
2628
endef

0 commit comments

Comments
 (0)