Message ID | 20170704140404.4098-10-arnout@mind.be |
---|---|
State | Accepted |
Headers | show |
Hi Arnout, Le 04/07/2017 à 16:03, Arnout Vandecappelle (Essensium/Mind) a écrit : > Remove the redundant usr/ component of the HOST_DIR paths. Since a > previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), > everything keeps on working. > > Build-tested with a bunch of autotools packages. > > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@smile.fr> Best regards, Romain > --- > package/pkg-autotools.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk > index e215382d06..03e25b3694 100644 > --- a/package/pkg-autotools.mk > +++ b/package/pkg-autotools.mk > @@ -220,7 +220,7 @@ define $(2)_CONFIGURE_CMDS > $$($$(PKG)_CONF_ENV) \ > CONFIG_SITE=/dev/null \ > ./configure \ > - --prefix="$$(HOST_DIR)/usr" \ > + --prefix="$$(HOST_DIR)" \ > --sysconfdir="$$(HOST_DIR)/etc" \ > --localstatedir="$$(HOST_DIR)/var" \ > --enable-shared --disable-static \ >
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index e215382d06..03e25b3694 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -220,7 +220,7 @@ define $(2)_CONFIGURE_CMDS $$($$(PKG)_CONF_ENV) \ CONFIG_SITE=/dev/null \ ./configure \ - --prefix="$$(HOST_DIR)/usr" \ + --prefix="$$(HOST_DIR)" \ --sysconfdir="$$(HOST_DIR)/etc" \ --localstatedir="$$(HOST_DIR)/var" \ --enable-shared --disable-static \
Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. Build-tested with a bunch of autotools packages. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> --- package/pkg-autotools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)