Skip to content

Instantly share code, notes, and snippets.

@dobo90
Created June 17, 2013 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dobo90/5796923 to your computer and use it in GitHub Desktop.
Save dobo90/5796923 to your computer and use it in GitHub Desktop.
grive-git build workaround
--- PKGBUILD.original 2013-06-17 15:32:48.171341963 +0200
+++ PKGBUILD 2013-06-17 15:33:43.561341639 +0200
@@ -36,7 +36,8 @@ build() {
cd "${srcdir}"/build
cmake ../${_gitname} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_EXE_LINKER_FLAGS=-ljson-c
make
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment