summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/build b/build
index f9c9ca6..955ca27 100755
--- a/build
+++ b/build
@@ -19,13 +19,13 @@ configure:
# * Enable plugins.
for target in $$(cat ../targets); do \
if [ '$(OPK_HOST_ARCH)' = "$${target}" ]; then \
- LIB_PATH="=/usr/local/lib/$${target}=:/usr/local/lib"; \
- LIB_PATH="$${LIB_PATH}=:/lib/$${target}=:/lib"; \
- LIB_PATH="$${LIB_PATH}=:/usr/lib/$${target}=:/usr/lib"; \
+ LIB_PATH="=/usr/local/lib/$${target}:=/usr/local/lib"; \
+ LIB_PATH="$${LIB_PATH}:=/lib/$${target}:=/lib"; \
+ LIB_PATH="$${LIB_PATH}:=/usr/lib/$${target}:=/usr/lib"; \
else \
LIB_PATH="=/usr/local/lib/$${target}"; \
- LIB_PATH="$${LIB_PATH}=:/lib/$${target}"; \
- LIB_PATH="$${LIB_PATH}=:/usr/lib/$${target}"; \
+ LIB_PATH="$${LIB_PATH}:=/lib/$${target}"; \
+ LIB_PATH="$${LIB_PATH}:=/usr/lib/$${target}"; \
fi; \
CFLAGS='$(CFLAGS)' host_configargs="--with-lib-path=$${LIB_PATH}" \
oh-autoconfigure -B "build-$${target}" -t "$${target}" -- \