From 7b1bf0c3087aa87cde7417b95b4dd3f8e4ca3781 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Sat, 14 May 2016 16:30:02 +0300
Subject: [PATCH] tools/make-frozen.py: Quick fix to support package-modules.

It allows to "import foo.bar", but not "from foo import bar".
---
 tools/make-frozen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/make-frozen.py b/tools/make-frozen.py
index 28829ec74..aaa688598 100755
--- a/tools/make-frozen.py
+++ b/tools/make-frozen.py
@@ -40,7 +40,7 @@ print("#include <stdint.h>")
 print("const char mp_frozen_str_names[] = {")
 for f, st in modules:
     m = module_name(f)
-    print('"%s\\0"' % m)
+    print('"%s\\0"' % m.replace("/", "."))
 print('"\\0"};')
 
 print("const uint32_t mp_frozen_str_sizes[] = {")
-- 
GitLab