We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 094cf7d commit a36bf9eCopy full SHA for a36bf9e
Makefile
@@ -6,13 +6,13 @@ TESTS=test_new test_cond_wait test_cond_wait_simple test_printf
6
all: jack_interposer.so
7
8
jack_interposer.so: jack_interposer.c checkers.c manual.c
9
- $(CC) $< $(CFLAGS) -Wall -fPIC $(LDFLAGS) -shared -pthread -ldl -ljack -o jack_interposer.so
+ $(CC) $< $(CFLAGS) -Wall -fPIC $(LDFLAGS) -Wl,--no-undefined -shared -pthread -ldl -ljack -o jack_interposer.so
10
11
checkers.c: functions checker_fragment.c
12
./generate_checkers.pl < functions
13
14
.PHONY clean:
15
- rm -f jack_interposer.so test_cond_wait test_cond_wait_simple || true
+ rm -f jack_interposer.so test_cond_wait test_cond_wait_simple
16
17
test: $(TESTS) jack_interposer.so
18
LD_PRELOAD=./jack_interposer.so ./test_cond_wait_simple
0 commit comments