Drop autoreconf

el8
Nicolas Chauvet 6 years ago
parent a69f2b59c0
commit 875940ce45

@ -10,3 +10,14 @@
libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \ libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
mp4tagupdate.c mp4ff.h mp4ffint.h mp4tagupdate.c mp4ff.h mp4ffint.h
--- a/common/mp4ff/Makefile.in
+++ b/common/mp4ff/Makefile.in
@@ -308,7 +307,7 @@
top_srcdir = @top_srcdir@
noinst_LIBRARIES = libmp4ff.a
noinst_HEADERS = mp4ff.h mp4ffint.h
-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
+libmp4ff_a_CFLAGS = -DUSE_TAGGING=1 -DPIC -fPIC
libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
mp4tagupdate.c mp4ff.h mp4ffint.h

@ -14,8 +14,6 @@ Patch0: %{name}-pic.patch
Patch1: fix_undefined_version.patch Patch1: fix_undefined_version.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: automake
BuildRequires: libtool
BuildRequires: id3lib-devel BuildRequires: id3lib-devel
BuildRequires: libsysfs-devel BuildRequires: libsysfs-devel
BuildRequires: xmms-devel BuildRequires: xmms-devel
@ -62,13 +60,16 @@ This package contains an input plugin for xmms.
%prep %prep
%autosetup -p1 %autosetup -p1
autoreconf -fiv
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
--with-xmms --with-xmms
# remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build %make_build
%install %install

Loading…
Cancel
Save