summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMichael Schubert <schu@schu.io>2012-07-16 12:41:30 +0200
committerMichael Schubert <schu@schu.io>2012-07-16 13:30:23 +0200
commit77ace82d7ab60fad62a02d272a37d8c4891f59a3 (patch)
treeea02a02bf6fded220253b989b186357cb4534f78 /packaging
parentd4b573513c511584ca7e7f1f9c7731d7349aa3f2 (diff)
downloadlibgit2-77ace82d7ab60fad62a02d272a37d8c4891f59a3.tar.gz
libgit2.pc.in: also switch to LIB_INSTALL_DIR
b3237ac3 changed CMakeList.txt to use the more standard LIB_INSTALL_DIR variable instead of INSTALL_LIB, but forgot to change libgit2.pc.in etc. accordingly.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm/libgit2.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/rpm/libgit2.spec b/packaging/rpm/libgit2.spec
index a6e82b241..80e70c164 100644
--- a/packaging/rpm/libgit2.spec
+++ b/packaging/rpm/libgit2.spec
@@ -65,7 +65,7 @@ to compile and develop applications that use libgit2.
cmake . \
-DCMAKE_C_FLAGS:STRING="%{optflags}" \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
- -DINSTALL_LIB:PATH=%{_libdir}
+ -DLIB_INSTALL_DIR:PATH=%{_libdir}S
make %{?_smp_mflags}
%install