The OpenWrt SDK automatically adds libc as a dependency to all packages, even pure shell/JavaScript packages that don't need it. This causes opkg installation failures when the local feed version of libc doesn't match the router's installed version. Solution: Add PKG_FLAGS:=nonshared to Makefiles of arch-independent packages (secubox-core, luci-app-secubox-admin, secubox-app-bonus). This tells the build system these packages don't link against libc. Changes: - secubox-core: 0.10.0-r6 → r7 with PKG_FLAGS:=nonshared - luci-app-secubox-admin: 1.0.0-r17 → r18 with PKG_FLAGS:=nonshared - secubox-app-bonus: 0.3.0-r1 → r2 with PKG_FLAGS:=nonshared - Regenerated Packages index without libc dependencies Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
602 B
Makefile
22 lines
602 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-secubox-admin
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=18
|
|
PKG_LICENSE:=MIT
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
PKG_ARCH:=all
|
|
# Prevent automatic libc dependency - pure JS/JSON LuCI app
|
|
PKG_FLAGS:=nonshared
|
|
|
|
LUCI_TITLE:=LuCI SecuBox Admin Control Center
|
|
LUCI_DEPENDS:=+luci-base +rpcd +secubox-core
|
|
LUCI_DESCRIPTION:=Unified admin control center for SecuBox appstore plugins with system monitoring
|
|
LUCI_PKGARCH:=all
|
|
|
|
# This is free software, licensed under the MIT License
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot
|