firasuke / cross / slibtool

Forked from cross/slibtool 3 months ago
Clone

Blame aux/ar-lib

f98cb2
#!/bin/sh
f98cb2
f98cb2
#####################################################################
f98cb2
##  slibtool: a strong libtool implementation, written in C        ##
f98cb2
##  Copyright (C) 2016--2024  SysDeer Technologies, LLC            ##
f98cb2
##  Released under the Standard MIT License; see COPYING.SLIBTOOL. ##
f98cb2
#####################################################################
f98cb2
f98cb2
#####################################################################
f98cb2
## ar-lib: a placeholder script, currently not implemented         ##
f98cb2
## -------------------------------------------------------         ##
f98cb2
#####################################################################
f98cb2
f98cb2
set -eu
f98cb2
f98cb2
error_msg()
f98cb2
{
f98cb2
	printf '%s\n' "$@" >&2
f98cb2
}
f98cb2
f98cb2
error_not_implemented()
f98cb2
{
f98cb2
	error_msg 'ar-lib: this script is a placeholder.'
f98cb2
	exit 2
f98cb2
}
f98cb2
f98cb2
error_not_implemented