summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-21 23:59:34 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-21 23:59:34 +0200
commit49706ab19bd3ffd6125639e6a7753b2350cf54e1 (patch)
tree0b9493295e69ef8c85926a67b5413f83ee9cbee2 /source4/lib/registry
parentb1fc7bab111fcef7f546e821f24c175bdec6865a (diff)
downloadsamba-49706ab19bd3ffd6125639e6a7753b2350cf54e1.tar.gz
samba-49706ab19bd3ffd6125639e6a7753b2350cf54e1.tar.bz2
samba-49706ab19bd3ffd6125639e6a7753b2350cf54e1.zip
Move more modules inside of the samba package.
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/config.mk4
-rw-r--r--source4/lib/registry/tests/bindings.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index 077d96ab30..90618ffc31 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -105,11 +105,11 @@ torture_registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/tests/, generic.o
$(eval $(call proto_header_template,$(libregistrysrcdir)/tests/proto.h,$(torture_registry_OBJ_FILES:.o=.c)))
[PYTHON::swig_registry]
+LIBRARY_REALNAME = samba/_registry.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = registry
-SWIG_FILE = registry.i
swig_registry_OBJ_FILES = $(libregistrysrcdir)/registry_wrap.o
-$(eval $(call python_py_module_template,registry.py,lib/registry/registry.py))
+$(eval $(call python_py_module_template,samba/registry.py,lib/registry/registry.py))
$(swig_registry_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)"
diff --git a/source4/lib/registry/tests/bindings.py b/source4/lib/registry/tests/bindings.py
index 314cf778a1..1fb5c70b70 100644
--- a/source4/lib/registry/tests/bindings.py
+++ b/source4/lib/registry/tests/bindings.py
@@ -19,7 +19,7 @@
import os
import unittest
-import registry
+from samba import registry
import samba.tests
class HelperTests(unittest.TestCase):