--- builddefs.h
+++ builddefs.h
@@ -3,7 +3,11 @@
 
 #undef VSF_BUILD_TCPWRAPPERS
 #define VSF_BUILD_PAM
+#ifdef FREETZ_PACKAGE_VSFTPD_WITH_SSL
+#define VSF_BUILD_SSL
+#else
 #undef VSF_BUILD_SSL
+#endif
 
 #endif /* VSF_BUILDDEFS_H */
