1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/nwmouse_install.pl b/nwmouse_install.pl
index 51b0988..44ca784 100755
--- a/nwmouse_install.pl
+++ b/nwmouse_install.pl
@@ -54,7 +54,7 @@ $command = sprintf("%s %s %s -I%s/libdis -g -fPIC -shared -Wl,-soname,libdisasm.
printf("NOTICE: NWMouse: Executing: %s\n", $command);
system($command);
-$command = sprintf("%s %s %s -shared -g -I/usr/include/libelf -I%s/libdis -o %s/nwmouse.so %s/nwmouse_cookie.c %s/nwmouse_link.S %s/nwmouse_link2.S %s/nwmouse.c %s -ldl -lelf -Xlinker -L/usr/X11R6/lib -lXcursor -lSDL",
+$command = sprintf("%s %s %s -shared -g -I/usr/include/libelf -I%s/libdis -o %s/nwmouse.so %s/nwmouse_cookie.c %s/nwmouse_link.S %s/nwmouse_link2.S %s/nwmouse.c %s -ldl -lelf -Xlinker -L/usr/X11R6/lib -lXcursor -lSDL -Wno-error=incompatible-pointer-types",
$gcc, $cflags, $x86_64, $ndir, $ndir, $ndir, $ndir, $ndir, $ndir, $ldflags );
printf("NOTICE: NWMouse: Executing: %s\n", $command);
|