Skip to content

Commit

Permalink
Merge pull request #104 from yoursunny/vm-makefile
Browse files Browse the repository at this point in the history
vm: include ubpf_jit.o in dynamic library
  • Loading branch information
Alan-Jowett committed Jun 18, 2022
2 parents 9e02978 + 84dfbea commit 9bf152d
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 9bf152d

Please sign in to comment.