build: Fix LD_LIBRARY_PATH

This commit is contained in:
Colin Walters 2016-02-23 10:30:15 -05:00
parent 4f2a04f85e
commit b3c7300a93

View File

@ -72,7 +72,8 @@ Libs: -L$(pwd)/libhif -lhif
Cflags: -I$(pwd) -I$(pwd)/libhif
EOF
)
export PKG_CONFIG_PATH=$(pwd)/libhif/libhif
export PKG_CONFIG_PATH=$(pwd)/libhif/libhif${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
export LD_LIBRARY_PATH=$(pwd)/libhif/libhif${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
env NOCONFIGURE=1 ./autogen.sh
%configure --disable-silent-rules --enable-gtk-doc
make %{?_smp_mflags}