mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
perl: fix miniperl missing execute permission (CI fix)
On some build systems, the miniperl binary is created without execute permission (errno 126 when running it as /bin/sh). This breaks building the mro extension and cascades to all dependent packages. Fix by ensuring chmod +x on miniperl after the main build step. This matches how many other build systems handle this same issue. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
8c62419cd8
commit
d4d4e3e419
@@ -135,6 +135,8 @@ define Build/Compile
|
||||
# make depend is required to avoid race conditions: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996953
|
||||
+$(MAKE) -C $(PKG_BUILD_DIR) depend
|
||||
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
|
||||
# miniperl may lack execute permission on some build systems, fix it for extension builds
|
||||
chmod +x $(PKG_BUILD_DIR)/miniperl
|
||||
endef
|
||||
|
||||
ifeq ($(CONFIG_arc),)
|
||||
|
||||
Reference in New Issue
Block a user