Skip to content


Browse files Browse the repository at this point in the history
Use -Wl,--no-undefined
  • Loading branch information
falkTX committed May 12, 2016
1 parent 094cf7d commit a36bf9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -6,13 +6,13 @@ TESTS=test_new test_cond_wait test_cond_wait_simple test_printf
all: jack_interposer.c checkers.c manual.c
$(CC) $< $(CFLAGS) -Wall -fPIC $(LDFLAGS) -shared -pthread -ldl -ljack -o
$(CC) $< $(CFLAGS) -Wall -fPIC $(LDFLAGS) -Wl,--no-undefined -shared -pthread -ldl -ljack -o

checkers.c: functions checker_fragment.c
./ < functions

.PHONY clean:
rm -f test_cond_wait test_cond_wait_simple || true
rm -f test_cond_wait test_cond_wait_simple

test: $(TESTS)
LD_PRELOAD=./ ./test_cond_wait_simple
Expand Down

0 comments on commit a36bf9e

Please sign in to comment.