build: cleanup possibly dangling Python 3 host symlink
[librecmc/librecmc.git] / include / prereq-build.mk
index 15ba1eb93ab81c933c14e47261a5fa14ae8b55ca..03f6d31d9c672622cb69cb8732d550434072866e 100644 (file)
@@ -141,6 +141,8 @@ $(eval $(call SetupHostCommand,wget,Please install GNU 'wget', \
 $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \
        perl --version | grep "perl.*v5"))
 
+$(eval $(call CleanupPython3))
+
 $(eval $(call SetupHostCommand,python,Please install Python 2.x, \
        python2.7 -V 2>&1 | grep 'Python 2.7', \
        python2 -V 2>&1 | grep 'Python 2', \