Skip to content

Commit

Permalink
[aarch64] Specify libdir and xtlibdir. Contributes to JB#49681
Browse files Browse the repository at this point in the history
  • Loading branch information
xfade committed May 20, 2020
1 parent 6786bdd commit 88807f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
@@ -1,3 +1,3 @@
[submodule "iptables"]
path = iptables
url = git://git.netfilter.org/iptables
url = https://git.sailfishos.org/mirror/iptables.git
2 changes: 1 addition & 1 deletion rpm/iptables.spec
Expand Up @@ -59,7 +59,7 @@ Man pages for %{name}.

%build
./autogen.sh
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --enable-devel --prefix=%{_prefix} --bindir=/bin --sbindir=/sbin --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr --disable-nftables
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --enable-devel --prefix=%{_prefix} --bindir=/bin --sbindir=/sbin --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr --disable-nftables --libdir=%{_libdir} --with-xtlibdir=%{_libdir}/xtables
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

Expand Down

0 comments on commit 88807f0

Please sign in to comment.