OSDN Git Service

*Implemented: Load depend .so libraries (BUG: NO Implementation excepting duplicate...
[drdeamon64/drdeamon64.git] / libbrownie / drd64_libbrownie_searchlib.c
index 733e146..d0eb8fa 100644 (file)
@@ -92,10 +92,12 @@ int
        }
 
        if( NULL != pstr_rpath )        {
-               i_result        = LibBrownie_SearchLib_IsExistLibrary( pstr_rpath, pstr_solibname );
-               if( 0x00 == i_result )  {
-                       pstr_nowpath    = pstr_rpath;
-                       goto goto_LibBrownie_GetLibraryPath_setting;
+               if( '\0' != *pstr_rpath )       {
+                       i_result        = LibBrownie_SearchLib_IsExistLibrary( pstr_rpath, pstr_solibname );
+                       if( 0x00 == i_result )  {
+                               pstr_nowpath    = pstr_rpath;
+                               goto goto_LibBrownie_GetLibraryPath_setting;
+                       }
                }
        }