Created
September 17, 2015 16:30
-
-
Save adsr/3b571645691847f9fa6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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