]> git.pld-linux.org Git - packages/libcap.git/commitdiff
- build with no previous libcap installed fixed
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 15 Oct 2008 11:06:55 +0000 (11:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libcap.spec -> 1.62

libcap.spec

index 3deeb4e390ea72c6b715c73edc072898266f2e1d..19ea203649c3d6b1f86f533c61829dcd85aae6d1 100644 (file)
@@ -76,9 +76,10 @@ Moduł PAM capability wymuszający dziedziczone zbiory uprawnień.
 %build
 %{__make} \
        CC="%{__cc}" \
-       OPT_CFLAGS="%{rpmcflags}" \
+       OPT_CFLAGS="-Iinclude %{rpmcflags}" \
        DEBUG= \
-       OPT_LDFLAGS="%{rpmldflags}"
+       OPT_LDFLAGS="%{rpmldflags}" \
+       LDLIBS="-L../libcap -lcap"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.198163 seconds and 4 git commands to generate.