Fix linking issues
authorSteven Barth <steven@midlink.org>
Sun, 30 Nov 2008 15:15:03 +0000 (15:15 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 30 Nov 2008 15:15:03 +0000 (15:15 +0000)
contrib/package/luci/Makefile

index 3027e70..76fef41 100644 (file)
@@ -880,7 +880,7 @@ endif
 MAKE_FLAGS += \
        MODULES="$(PKG_SELECTED_MODULES)" \
        LUA_TARGET="$(LUA_TARGET)" \
-       LUA_SHLIBS="-llua -lm" \
+       LUA_SHLIBS="-llua -lm -ldl -lcrypt" \
        CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
        LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \
        OS="Linux"