diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-06-01 10:47:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:19:29 -0500 |
commit | 5d96f59ec9254d24a34c0f48db6465ab0467805f (patch) | |
tree | 8bf90472aaf81ba0e8671dca43bd850e7445cda6 | |
parent | b0b27724f59687bdbad17012a2545f4925d27ddb (diff) |
system/dynamips: Fixed linking against zlib.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | system/dynamips/dynamips.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/dynamips/dynamips.SlackBuild b/system/dynamips/dynamips.SlackBuild index a9edf005e9b6..76345e6758e4 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 |