From 4805407fb6255b13061a39faad6f8643c97c872d Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 26 Dec 2016 15:12:48 +0800 Subject: [PATCH] fix python test on Ubuntu 12.04 by preloading librt.so --- bindings/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/Makefile b/bindings/Makefile index ed958f75..fa488af3 100644 --- a/bindings/Makefile +++ b/bindings/Makefile @@ -9,7 +9,7 @@ SAMPLE := $(SAMPLE:sample_batch_reg=) SAMPLE := $(SAMPLE:sample_x86_32_gdt_and_seg_regs=) SAMPLE := $(SAMPLE:shellcode=) -ENV_VARS = LD_LIBRARY_PATH=../ DYLD_LIBRARY_PATH=../ +ENV_VARS = LD_PRELOAD=librt.so LD_LIBRARY_PATH=../ DYLD_LIBRARY_PATH=../ .PHONY: build install python c clean check test