Author: abroekhuis
Date: Fri May 27 06:29:34 2011
New Revision: 1128167
URL: http://svn.apache.org/viewvc?rev=1128167&view=rev
Log:
Some code cleanup and comments
Modified:
incubator/celix/trunk/framework/private/src/framework.c
incubator/celix/trunk/mongoose/CMakeLists.txt
Modified: incubator/celix/trunk/framework/private/src/framework.c
URL:
http://svn.apache.org/viewvc/incubator/celix/trunk/framework/private/src/framework.c?rev=1128167&r1=1128166&r2=1128167&view=diff
==============================================================================
--- incubator/celix/trunk/framework/private/src/framework.c (original)
+++ incubator/celix/trunk/framework/private/src/framework.c Fri May 27 06:29:34
2011
@@ -446,6 +446,9 @@ celix_status_t fw_startBundle(FRAMEWORK
library_extension
);
+ // BUG: Can't use apr_dso_load, apr assumes RTLD_GLOBAL
for loading libraries.
+// apr_dso_handle_t *handle;
+// apr_dso_load(&handle, libraryPath, bundle->memoryPool);
handle = dlopen(libraryPath, RTLD_LAZY|RTLD_LOCAL);
if (handle == NULL) {
printf ("%s\n", dlerror());
Modified: incubator/celix/trunk/mongoose/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/incubator/celix/trunk/mongoose/CMakeLists.txt?rev=1128167&r1=1128166&r2=1128167&view=diff
==============================================================================
--- incubator/celix/trunk/mongoose/CMakeLists.txt (original)
+++ incubator/celix/trunk/mongoose/CMakeLists.txt Fri May 27 06:29:34 2011
@@ -16,7 +16,7 @@
# under the License.
add_library(mongoose STATIC mongoose.c)
-SET_TARGET_PROPERTIES( mongoose PROPERTIES COMPILE_FLAGS -fPIC)
+SET_TARGET_PROPERTIES(mongoose PROPERTIES COMPILE_FLAGS -fPIC)
add_library(celix.mongoose SHARED activator)
include_directories("${PROJECT_SOURCE_DIR}/utils/public/include")