Commit 342f4a0116b6fc91b98c1453f668ad22c15735c2
1 parent
8d728d0653
Exists in
master
linking with libvncserver
Showing
6 changed files
with
21 additions
and
1 deletions
Show diff stats
Makefile
@@ -6,7 +6,7 @@ CROSS_FREFIX = $(CC_PATH)/aarch64-poky-linux- | @@ -6,7 +6,7 @@ CROSS_FREFIX = $(CC_PATH)/aarch64-poky-linux- | ||
6 | GCC = $(CROSS_FREFIX)gcc | 6 | GCC = $(CROSS_FREFIX)gcc |
7 | 7 | ||
8 | CFLAGS=-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security | 8 | CFLAGS=-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security |
9 | -LDFLAGS=-lpthread -lm | 9 | +LDFLAGS=-lpthread -lm -L. -lvncserver |
10 | INC=-I./protocol -I./shared -I./ | 10 | INC=-I./protocol -I./shared -I./ |
11 | 11 | ||
12 | CFLAGS+=`pkg-config --cflags pixman-1` | 12 | CFLAGS+=`pkg-config --cflags pixman-1` |
README
@@ -0,0 +1,18 @@ | @@ -0,0 +1,18 @@ | ||
1 | +* HOW TO BUILD | ||
2 | + | ||
3 | +step 1. apply build path using | ||
4 | +>> source env.sh | ||
5 | + | ||
6 | +step 2. build libvncserver | ||
7 | +>> cd ext_dep/libvncserver | ||
8 | +>> mkdir build | ||
9 | +>> cd build | ||
10 | +>> cmake .. | ||
11 | +>> cmake --build . | ||
12 | + | ||
13 | +step 3. copy libvncserver library to root | ||
14 | +>> cd ext_dep/libvncserver/build | ||
15 | +>> cp -a libvncserver* ../../.. | ||
16 | + | ||
17 | +step 4. bulid project with make | ||
18 | +>> make clean; make |
libvncserver.so
libvncserver.so.0.9.13
No preview for this file type
libvncserver.so.1
weston-vncserver
No preview for this file type