SPECS: libcap.spec - build with no previous libcap installed fixed

jajcus jajcus at pld-linux.org
Wed Oct 15 13:07:00 CEST 2008


Author: jajcus                       Date: Wed Oct 15 11:07:00 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build with no previous libcap installed fixed

---- Files affected:
SPECS:
   libcap.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/libcap.spec
diff -u SPECS/libcap.spec:1.61 SPECS/libcap.spec:1.62
--- SPECS/libcap.spec:1.61	Sun Jul 27 11:51:10 2008
+++ SPECS/libcap.spec	Wed Oct 15 13:06:55 2008
@@ -77,9 +77,10 @@
 %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
@@ -145,6 +146,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2008/10/15 11:06:55  jajcus
+- build with no previous libcap installed fixed
+
 Revision 1.61  2008/07/27 09:51:10  arekm
 - up to 2.11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libcap.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list