@@ -49,6 +49,10 @@ doit:
|
||||
install_name_tool -id @executable_path/../lib/libykpiv.dylib $(PWD)/tmp/root/lib/libykpiv.dylib && \
|
||||
install_name_tool -id @executable_path/../lib/libykpiv.1.dylib $(PWD)/tmp/root/lib/libykpiv.1.dylib && \
|
||||
install_name_tool -change $(PWD)/tmp/root/lib/libykpiv.1.dylib @executable_path/../lib/libykpiv.1.dylib $(PWD)/tmp/root/bin/yubico-piv-tool ; \
|
||||
if otool -L $(PWD)/tmp/root/lib/*.dylib $(PWD)/tmp/root/bin/* | grep '$(PWD)/tmp/root' | grep -q compatibility; then \
|
||||
echo "something is incorrectly linked!"; \
|
||||
exit 1; \
|
||||
fi && \
|
||||
cp COPYING $(PWD)/tmp/root/licenses/$(PACKAGE).txt && \
|
||||
cd .. && \
|
||||
cd root && \
|
||||
|
||||
Reference in New Issue
Block a user