empty librt for osx

This commit is contained in:
Hieu Hoang 2014-09-02 10:58:24 +01:00
parent 0e66e61189
commit a6890dee8e
3 changed files with 11 additions and 0 deletions

0
contrib/rt/Empty.c Normal file
View File

9
contrib/rt/README Normal file
View File

@ -0,0 +1,9 @@
FOR OSX ONLY
------------
This creates an empty library file
librt.a
It should be used when you are compile with Eclipse on OSX.
The Eclipse projects are set up to link to librt but OSX doesn't have it so this just creates a dummy library.

2
contrib/rt/compile.sh Executable file
View File

@ -0,0 +1,2 @@
gcc -c Empty.c -o Empty.o
ar rcs librt.a Empty.o