luci-base: always link core.so with libcrypt to satisfy glibc builds
authorJo-Philipp Wich <jo@mein.io>
Thu, 27 Oct 2022 10:36:33 +0000 (12:36 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 27 Oct 2022 10:36:33 +0000 (12:36 +0200)
commit2a5efb31b7b8a1fcd253b3897bed97abb0a67f4a
tree6ab98b8e3dd1eaefd5d820b5c193ce200cddffb1
parent1eea6c0ce8d5357204fb6248c0444e5495e1c191
luci-base: always link core.so with libcrypt to satisfy glibc builds

Fixes the following runtime error on glibc based builds:

    Runtime error: Unable to dlopen file ...: undefined symbol: crypt
    In module(), file /usr/share/ucode/luci/dispatcher.uc, line 1, byte 1:
      called from anonymous function (/www/cgi-bin/luci:7:21)

Ref: https://forum.openwrt.org/t/x/137250/18
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/src/Makefile