Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
[droid] add our lib search path
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Jun 2, 2012
1 parent fa63066 commit 87897e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xbmc/cores/DllLoader/DllLoaderContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ LibraryLoader* DllLoaderContainer::FindModule(const char* sName, const char* sCu
// in environment variable?
CStdStringArray vecEnv;
StringUtils::SplitString(ENV_PATH, ";", vecEnv);

#if defined(TARGET_ANDROID)
vecEnv.push_back(CStdString(getenv("XBMC_ANDROID_LIBS")) + "/");
#endif

LibraryLoader* pDll = NULL;

for (int i=0; i<(int)vecEnv.size(); ++i)
Expand Down

0 comments on commit 87897e0

Please sign in to comment.