Drop -rpath libtool option as libexpat.so has no dependencies
@@ -37,8 +37,7 @@ lib_LTLIBRARIES = libexpat.la
libexpat_la_LDFLAGS = \
-no-undefined \
- -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@ \
- -rpath $(libdir)
+ -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
libexpat_la_SOURCES = \
loadlibrary.c \
