diff options
author | Mateusz Majewski <m.majewski2@samsung.com> | 2020-12-16 07:47:12 +0100 |
---|---|---|
committer | Mateusz Majewski <m.majewski2@samsung.com> | 2020-12-16 07:47:12 +0100 |
commit | 1f1a7d807e1d7661015dfc331567bdaadf7e8112 (patch) | |
tree | 033e0440d1f2e2841a47481dc901de992a65b09f | |
parent | e06466d2463ca60efa738d8b19a8a077d0dcf3d5 (diff) | |
download | lz4-accepted/tizen_7.0_unified.tar.gz lz4-accepted/tizen_7.0_unified.tar.bz2 lz4-accepted/tizen_7.0_unified.zip |
Fix compilation on 64-bit architecturestizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen/20201217.103258submit/tizen/20201217.075359submit/tizen/20201216.071710accepted/tizen/unified/20201218.124447accepted/tizen/unified/20201216.220022accepted/tizen/9.0/unified/20241030.232345accepted/tizen/8.0/unified/20231005.095207accepted/tizen/7.0/unified/hotfix/20221116.111118accepted/tizen/7.0/unified/20221110.060602accepted/tizen/6.5/unified/20211029.014716tizen_9.0tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
RPM expects the libraries to end up in /usr/lib64 then, but the Makefile
puts them in /usr/lib regardless of the architecture. Thankfully, we can
select the location (which also is used in the pkg-config file).
Change-Id: I87496a783ab602770df5619ca57a3295756c0ae4
-rw-r--r-- | packaging/lz4.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/lz4.spec b/packaging/lz4.spec index 7918fba..fbbd41f 100644 --- a/packaging/lz4.spec +++ b/packaging/lz4.spec @@ -42,7 +42,7 @@ cp %{SOURCE1} . %__make BUILD_STATIC=0 %{?_smp_mflags} %install -%__make install BUILD_STATIC=0 DESTDIR=%{?buildroot} PREFIX=/usr INSTALL="%{__install} -p" +%__make install BUILD_STATIC=0 DESTDIR=%{?buildroot} PREFIX=/usr LIBDIR=%{_libdir} INSTALL="%{__install} -p" rm %{?buildroot}%{_datadir}/man/man1/lz4.1 rm %{?buildroot}%{_datadir}/man/man1/lz4c.1 rm %{?buildroot}%{_datadir}/man/man1/lz4cat.1 |