mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
Update code to v1.0.14 (10)
This commit is contained in:
25
android/extern/libvncserver/test/includetest.sh
vendored
Normal file
25
android/extern/libvncserver/test/includetest.sh
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# This tests if using the **installed** headers works.
|
||||
#
|
||||
|
||||
# expects install prefix like /usr as an argument
|
||||
PREFIX=$1
|
||||
CMAKE_MAKE_PROGRAM=$2
|
||||
|
||||
TMPDIR=$(mktemp -d)
|
||||
|
||||
DESTDIR="$TMPDIR" $CMAKE_MAKE_PROGRAM install
|
||||
|
||||
echo \
|
||||
"
|
||||
#include <rfb/rfb.h>
|
||||
#include <rfb/rfbclient.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
" > "$TMPDIR"/includetest.c
|
||||
|
||||
cc -I "$TMPDIR/$PREFIX" "$TMPDIR"/includetest.c
|
||||
Reference in New Issue
Block a user