Package is missing dependencies for libraries - OpenWRT
Finally got it, had to add change
$(eval $(call BuildPackage,amld))
to
$(eval $(call BuildPackage,amld,+libopenssl))
Full Makefile:
include $(TOPDIR)/rules.mk
PKG_NAME:=amld
PKG_RELEASE:=1
TARGET_LDFLAGS+=/usr/include/openssl
PKG_BUILD_DEPENDS:=libopenssl
include $(INCLUDE_DIR)/package.mk
define Package/amld
SECTION:=utils
DEPENDS:=+libopenssl
CATEGORY:=Utilities
TITLE:=amld -- AccessMyLan Daemon
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./files/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS)
endef
define Package/amld/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/amld $(1)/bin/
endef
$(eval $(call BuildPackage,amld,+libopenssl))
Please check OpenWRT\tmp\.config-package.in
. This has the dependency tree generated as soon as build starts. It can give some hints