Skip to content

Commit

Permalink
vm: include ubpf_jit.o in dynamic library
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Apr 25, 2022
1 parent 38d2836 commit 84dfbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/Makefile
Expand Up @@ -40,7 +40,7 @@ ubpf_jit_x86_64.o: ubpf_jit_x86_64.c ubpf_jit_x86_64.h
libubpf.a: ubpf_vm.o ubpf_jit_arm64.o ubpf_jit_x86_64.o ubpf_loader.o ubpf_jit.o
ar rc $@ $^

libubpf.so: ubpf_vm.o ubpf_jit_x86_64.o ubpf_loader.o
libubpf.so: ubpf_vm.o ubpf_jit_arm64.o ubpf_jit_x86_64.o ubpf_loader.o ubpf_jit.o
$(CC) -shared -o $@ $^ $(LDLIBS)

test: test.o libubpf.a
Expand Down

0 comments on commit 84dfbea

Please sign in to comment.