From: Hyihong Chae Date: Tue, 23 Aug 2016 04:17:40 +0000 (+0900) Subject: Fix compile error for Common Profile. X-Git-Tag: submit/tizen/20160824.024216^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a23f98022bf9354527680c1c02c2a630c466519d;p=platform%2Fupstream%2Flibmtp.git Fix compile error for Common Profile. Change-Id: I9c49fa44f08f9fa5b9149588df8e70c6c9c3689d Signed-off-by: HyiHong Chae --- diff --git a/autogen.sh b/packaging/autogen.sh similarity index 100% rename from autogen.sh rename to packaging/autogen.sh diff --git a/packaging/libmtp.spec b/packaging/libmtp.spec index e628350..cc4d63c 100755 --- a/packaging/libmtp.spec +++ b/packaging/libmtp.spec @@ -7,6 +7,7 @@ Release: 1 Group: Network & Connectivity/Other License: LGPL-2.1 Source0: libmtp-%{version}.tar.gz +Source1001: autogen.sh ExcludeArch: %ix86 x86_64 @@ -32,10 +33,12 @@ This package contains the development files. %prep %setup -q -n %{name}-%{version} +cp %{SOURCE1001} . %build export CFLAGS+=" -fPIC -DTIZEN_EXT" export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=%{_libdir}" +#chmod 755 ./autogen.sh %autogen %configure --prefix=/usr --disable-static make %{?jobs:-j%jobs}