]> git.ipfire.org Git - people/jschlag/ipfire-2.x.git/commitdiff
sysvinit: Fix check for static version of libcrypt
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Feb 2021 16:18:00 +0000 (16:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Feb 2021 16:18:00 +0000 (16:18 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/sysvinit

index d85a3659b4767b45816473004a3cd60778c19651..0306b551863efef51fe65ddecad53ff0c0b21c37 100644 (file)
@@ -74,6 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00018.html
        cd $(DIR_APP) && sed -i src/mountpoint.c src/bootlogd.c \
                -e "/include.*sys\/stat.h/a#include <sys/sysmacros.h>\n"
+       cd $(DIR_APP) && sed -e "s/libcrypt.a/libcrypt.so/g" -i src/Makefile
        cd $(DIR_APP) && make $(MAKETUNING) -C src 
        cd $(DIR_APP) && make -C src install
        @rm -rf $(DIR_APP)