summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-04-26 11:43:01 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-04-26 11:43:01 -0700
commit94b7597576fd4fcec6160ad88b2e832c9486b17f (patch)
tree5d486b0ab672d6df092c51a3e1a0f94a27655450 /indra
parent03cfdeca7a584b6d3008c463522d7a8e8dcdaaaf (diff)
parent9fa3381221fc4f06d7e6d562dc3596e2e30e5f50 (diff)
Merge
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/ConfigurePkgConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/ConfigurePkgConfig.cmake b/indra/cmake/ConfigurePkgConfig.cmake
index 82ee3e7a5b..03e19a3211 100644
--- a/indra/cmake/ConfigurePkgConfig.cmake
+++ b/indra/cmake/ConfigurePkgConfig.cmake
@@ -62,7 +62,7 @@ IF("$ENV{PKG_CONFIG_LIBDIR}" STREQUAL "")
SET(VALID_PKG_LIBDIRS "${VALID_PKG_LIBDIRS}:/usr/share/pkgconfig:/usr/local/share/pkgconfig")
# Remove first unwanted ':'
- string(SUBSTRING ${VALID_PKG_LIBDIRS} 1 -1 VALID_PKG_LIBDIRS)
+ string(SUBSTRING ${VALID_PKG_LIBDIRS} 1 0 VALID_PKG_LIBDIRS)
# Set PKG_CONFIG_LIBDIR environment.
SET(ENV{PKG_CONFIG_LIBDIR} ${VALID_PKG_LIBDIRS})