1
0
mirror of https://github.com/lxsang/antd-lua-plugin synced 2025-07-26 02:39:46 +02:00

ffi via libffi (contd)

This commit is contained in:
lxsang
2019-04-30 20:09:07 +02:00
parent ef51f7f700
commit 0ac583407d
6 changed files with 397 additions and 1 deletions

6
lib/ffi/example/Makefile Normal file
View File

@ -0,0 +1,6 @@
CC = gcc
main: lib.o
$(CC) -shared lib.o -o libtest.so
%.o: %.c
$(CC) -fPIC -c $< -o $@