Skip to content

Commit

Permalink
libast/Mamfile: also dynamically link mamake (re: 41dfd03)
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Mar 26, 2024
1 parent 41dfd03 commit 4852a40
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/lib/libast/Mamfile
Original file line number Diff line number Diff line change
Expand Up @@ -5048,6 +5048,17 @@ make install virtual
exec - (set +f; exec rm -rf ${INSTALLROOT}/bin/${@} ${INSTALLROOT}/bin/${@}.*)
exec - cp ${@} ${INSTALLROOT}/bin/${@}
done

note *
note * Dynamically linked version, if supported
note *

make ${INSTALLROOT}/dyn/bin/mamake dontcare
prev mamake
prev ${INSTALLROOT}/lib/lib/ast
exec - export LDFLAGS='${LDFLAGS} ${CCLDFLAGS} ${mam_cc_LD_NOASNEEDED}'
exec - dylink -e mamake ${mam_libutil} $(cat ${INSTALLROOT}/lib/lib/ast) mamake.o
done
done install

make test dontcare virtual
Expand Down

0 comments on commit 4852a40

Please sign in to comment.