diff --git a/libc3/configure b/libc3/configure
index 8fb70d6..15e35f3 100755
--- a/libc3/configure
+++ b/libc3/configure
@@ -71,6 +71,8 @@ fi
CFLAGS="$CFLAGS -DNDEBUG"
LIBS="$LIBS"
+make -f gen.mk
+
echo "LIB = $LIB" >> ${CONFIG_MK}
echo "HAVE_ASAN = $HAVE_ASAN" >> ${CONFIG_MK}
echo "CPPFLAGS = $CPPFLAGS" >> ${CONFIG_MK}