diff options
author | Hyihong Chae <hh.chae@samsung.com> | 2016-08-23 13:17:40 +0900 |
---|---|---|
committer | Hyihong Chae <hh.chae@samsung.com> | 2016-08-23 13:38:27 +0900 |
commit | a23f98022bf9354527680c1c02c2a630c466519d (patch) | |
tree | 30ee58d6f4376f6d424fcc6ca8d7eeeefb9ce5a7 | |
parent | c59eb2391f21cec0537eee94f385d46b32d6df31 (diff) | |
download | libmtp-a23f98022bf9354527680c1c02c2a630c466519d.tar.gz libmtp-a23f98022bf9354527680c1c02c2a630c466519d.tar.bz2 libmtp-a23f98022bf9354527680c1c02c2a630c466519d.zip |
Fix compile error for Common Profile.submit/tizen/20160824.024216
Change-Id: I9c49fa44f08f9fa5b9149588df8e70c6c9c3689d
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
-rwxr-xr-x | packaging/autogen.sh (renamed from autogen.sh) | 0 | ||||
-rwxr-xr-x | packaging/libmtp.spec | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/packaging/autogen.sh index a56890a..a56890a 100755 --- a/autogen.sh +++ b/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} |