Refactoring interface.

Change-Id: I7afcd83408d381dcf4d053ffe66150f567e02545
diff --git a/lib/ExecutionEngine/bcc.cpp b/lib/ExecutionEngine/bcc.cpp
index 45ab1ee..6f858fa 100644
--- a/lib/ExecutionEngine/bcc.cpp
+++ b/lib/ExecutionEngine/bcc.cpp
@@ -160,6 +160,18 @@
 }
 
 
+extern "C" int bccPrepareSharedObject(BCCScriptRef script,
+                                      char const *cacheDir,
+                                      char const *cacheName,
+                                      char const *objPath,
+                                      char const *dsoPath,
+                                      unsigned long flags) {
+  BCC_FUNC_LOGGER();
+  return unwrap(script)->prepareSharedObject(cacheDir, cacheName,
+                                             objPath, dsoPath, flags);
+}
+
+
 extern "C" int bccPrepareExecutable(BCCScriptRef script,
                                     char const *cacheDir,
                                     char const *cacheName,