summaryrefslogtreecommitdiffstats
path: root/system/dynamips
diff options
context:
space:
mode:
author Matteo Bernardini2020-02-29 10:21:37 +0100
committer Matteo Bernardini2020-02-29 10:21:37 +0100
commit37498e325fe958c6948fae9ee70e16ec9427d9a4 (patch)
tree6a9ede00269c6dd697d95d5c43739ec0741dc379 /system/dynamips
parente672baf11d590fdc9d8bd90c2cd50fc6232efd4e (diff)
downloadslackbuilds-current-20200229.1.tar.gz
20200229.1 global branch merge.current-20200229.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/dynamips')
-rw-r--r--system/dynamips/dynamips.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/dynamips/dynamips.SlackBuild b/system/dynamips/dynamips.SlackBuild
index a9edf005e9..76345e6758 100644
--- a/system/dynamips/dynamips.SlackBuild
+++ b/system/dynamips/dynamips.SlackBuild
@@ -75,6 +75,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
sed -i 's/^\(\.PHONY: all dynamips\)/# \1/' Makefile
+sed -i "s/-L\/usr\/lib\ -L\.\ -ldl/-L\/usr\/lib${LIBDIRSUFFIX} -L. -ldl -lz/" stable/Makefile
if [ $ARCH == "x86_64" ]
then