summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-06-01 10:47:47 +0200
committer Matteo Bernardini2020-05-23 06:57:52 +0200
commite444d4ffa1e2081f76046bb908cb9bb301ca3f1e (patch)
tree82e9a27227f915adf3c0c3de6d719ca80b830fbe
parented0074d03fdb30fde2ae0f56100c935d31cefbb8 (diff)
downloadslackbuilds-dynamips.tar.gz
system/dynamips: Fixed linking against zlib.dynamips
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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