diff options
author | Wolfgang Hommel <wolfcw@users.noreply.github.com> | 2019-11-30 09:36:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-30 09:36:46 +0100 |
commit | 3123ad7fe2838797e2b4081dc9d5786b8a8c4ed3 (patch) | |
tree | d8d4f1cb4e3a002dcdb1055f6509b9482e3e8248 /README | |
parent | af2d2e5111e0e23fc80b2a838b692c597fb8d6a7 (diff) | |
download | libfaketime-3123ad7fe2838797e2b4081dc9d5786b8a8c4ed3.tar.gz |
Revert "Automake branch"revert-178-automake-branch
Diffstat (limited to 'README')
-rw-r--r-- | README | 28 |
1 files changed, 9 insertions, 19 deletions
@@ -106,16 +106,8 @@ documentation whether it can be achieved by using libfaketime directly. 3. Installation --------------- -This library supports GNU autotools, so you should be able to build it with: - - sh ./build.sh init - ./configure - make - -After you have built the library, you may--optionally--run the tests with: - - cd test - make test +Running "make" compiles both library versions and a test program, which it then +also executes. If the test works fine, you should copy the libfaketime libraries (libfaketime.so.1, and libfaketimeMT.so.1) to the place you want them in. @@ -138,16 +130,14 @@ not need this feature or if it confuses the application you want to use FTPL with, define the environment variable NO_FAKE_STAT, and the intercepted stat calls will be passed through unaltered. -On macOS, instead of using LD_PRELOAD, the variable DYLD_INSERT_LIBRARIES -should be set to the path to libfaketime.0.dylib, and the variable -DYLD_FORCE_FLAT_NAMESPACE should be set (to anything). macOS users should -read README.OSX for additional details. - -NOTE: When committing, clean up potentially non-portable files with: - - sh build.sh clean +On macOS, it is necessary to compile differently, due to the different +behavior dyld has. Use the Makefile.OSX file provided to compile +libfaketime.1.dylib. Additionally, instead of using LD_PRELOAD, +the variable DYLD_INSERT_LIBRARIES should be set to the path to +libfaketime.1.dylib, and the variable DYLD_FORCE_FLAT_NAMESPACE should be +set (to anything). macOS users should read README.OSX for additional +details. -This will clean up the build files which we don't want to version-control. 4. Usage -------- |