I am currently trying to install a card reader package CCID and the configure file has something like the following:
# use libusb-1.0
LIBUSB_DIR=$(pkg-config --variable=libdir libusb-1.0)
if ls "$LIBUSB_DIR"/*.dylib 2> /dev/null
then
echo -en $RED
echo "*****************************"
echo "Dynamic library libusb found in $LIBUSB_DIR"
echo "*****************************"
echo -en $NORMAL
echo "Rename it to force a static link"
exit -1
fi
It is complaining that my libusb files are dynamic. How exactly can I rename them to force a static link? These are the files inside /usr/local/Cellar/libusb/1.0.22/lib:
