Remove unnecessary flags and fix use of libdir instead
This commit is contained in:
parent
a03a18f667
commit
4150c3da21
@ -10,7 +10,7 @@ diff -uNr xmlstarlet-1.0.3-original/configure.ac xmlstarlet-1.0.3/configure.ac
|
||||
-[LIBXML_CPPFLAGS="-DLIBXML_STATIC -I$LIBXML_INCDIR"]
|
||||
+ [: ${LIBXML_INCDIR="`xml2-config --cflags`"}])
|
||||
+[LIBXML_LIBS="`xml2-config --libs`"]
|
||||
+[LIBXML_CPPFLAGS="-DLIBXML_STATIC $LIBXML_INCDIR"]
|
||||
+[LIBXML_CPPFLAGS="$LIBXML_INCDIR"]
|
||||
|
||||
XSTAR_LIB_CHECK([LIBXSLT], [xslt-config])
|
||||
[: ${LIBXSLT_INCDIR="$LIBXSLT_PREFIX/include"}]
|
||||
|
@ -32,7 +32,7 @@ commands.
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
%configure --with-libxml-prefix=%{_prefix} --with-libxslt-prefix=%{_prefix}
|
||||
%configure --libdir=%{_libdir}
|
||||
make %{?_smp_mflags}
|
||||
cd $RPM_BUILD_DIR/%{name}-%{version}/doc
|
||||
xmlto man xmlstarlet-man.xml
|
||||
|
Loading…
Reference in New Issue
Block a user