Make the expat library static to make relocatable.

This commit is contained in:
Chris Johns
2013-04-10 16:07:21 +10:00
parent cb12e4875c
commit 7e48e8fb57

View File

@@ -59,6 +59,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
CFLAGS_FOR_BUILD="-g -O2 -Wall"
fi
CFLAGS="$SB_OPT_FLAGS" \
LIBS="-static -lexpat -dynamic" \
../gdb-%{gdb_version}/configure \
--build=%{_build} --host=%{_host} \
--target=%{_target} \