Skip to content

Commit 9ed69e0

Browse files
ubuntu 16.04 python 3.5, 3.6 libs
1 parent 776cb09 commit 9ed69e0

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

raylib/static/_raylib_cffi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ static void (*_cffi_call_python_org)(struct _cffi_externpy_s *, char *);
490490
/************************************************************/
491491

492492

493-
#include "../raylib.h" // the C header of the library, supplied by us here
493+
#include "../raylib.h" // the C header, installed in the system include dir we assume
494494

495495

496496
/************************************************************/
Binary file not shown.

raylib/static/build_linux.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111

1212
ffibuilder.set_source("_raylib_cffi",
1313
"""
14-
#include "raylib.h" // the C header, installed in the system include dir we assume
14+
#include "../raylib.h" // the C header, installed in the system include dir we assume
1515
""",
16-
#library_dirs=['/Volumes/Home/rich/raylib-latest/src'],
17-
# extra_link_args=['-Wl,-rpath,.'],
18-
#extra_link_args=["/usr/local/lib/libraylib.a","-framework OpenGL"]# -F/System/Library/Frameworks -framework OpenGL -framework Cocoa -framework IOKit -framework CoreFoundation -framework CoreVideo"]
19-
# library_dirs=[os.path.dirname(__file__)+"/../lib"],
20-
libraries=['raylib','GL','m','pthread', 'dl', 'rt', 'X11']
16+
extra_link_args=['../../linux_libs/core.o', '../../linux_libs/models.o', '../../linux_libs/raudio.o', '../../linux_libs/rglfw.o','../../linux_libs/shapes.o','../../linux_libs/text.o','../../linux_libs/textures.o','../../linux_libs/utils.o'],
17+
libraries=['GL','m','pthread', 'dl', 'rt', 'X11']
2118
)
2219

2320

0 commit comments

Comments
 (0)