Skip to content

Instantly share code, notes, and snippets.

@adsr
Created September 17, 2015 16:30
Show Gist options
  • Select an option

  • Save adsr/3b571645691847f9fa6e to your computer and use it in GitHub Desktop.

Select an option

Save adsr/3b571645691847f9fa6e to your computer and use it in GitHub Desktop.
diff --git a/CMake/GeoIP.cmake b/CMake/GeoIP.cmake
index 0f29bd5..5961a0e 100644
--- a/CMake/GeoIP.cmake
+++ b/CMake/GeoIP.cmake
@@ -10,7 +10,7 @@ CHECK_LIBRARY_EXISTS(GeoIP GeoIP_open /usr/lib HAVE_LIBGEOIP)
if(${HAVE_LIBGEOIP})
# Find library that contains version number in the file name.
execute_process(
- COMMAND find /usr/lib -name "xlibGeoIP.*.*.*.*"
+ COMMAND find /usr/lib -name "libGeoIP.*.*.*.*"
COMMAND cut -d . -f 2-5
COMMAND sort
COMMAND tail -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment