Browse Source

Added -lelf for grind on sparc_solaris

ceriel 30 years ago
parent
commit
66e29d8bd9
1 changed files with 9 additions and 0 deletions
  1. 9 0
      first/mk_makefile

+ 9 - 0
first/mk_makefile

@@ -21,5 +21,14 @@ ed - /tmp/mk_mak$$ << 'EOF'
 w
 q
 EOF
+case `ack_sys` in
+sparc_solaris)
+	ed - /tmp/mk_mak$$ << 'EOF'
+g/^EXTRALIB/s/=/= -lelf/
+w
+q
+EOF
+	;;
+esac
 cat /tmp/mk_mak$$
 exit 0