robotpy / fakearmv7l

LD_PRELOAD hook for uname to change the machine type

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fake-armv7l

This is a LD_PRELOAD library that hooks the uname function and changes the machine type to be 'armv7l'. The string is intentionally hardcoded for simplicity.

This exists to allow one to force pip to use a particular machine type when creating wheels.

Usage

LD_PRELOAD=/path/to/libfakearmv7l.so [command]

Credit

Stolen from https://geekscloud.wordpress.com/2012/09/06/faking-output-of-uname-command/

License

Unknown

About

LD_PRELOAD hook for uname to change the machine type


Languages

Language:C 74.1%Language:Makefile 25.9%