updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / jpcap_x86_64_patched / fPIC.patch
blob8d5f09299fe3ad5468390e3bd213b016add06498
1 diff -Nur jpcap-0.7/src/c/Makefile jpcap-0.7_patched/src/c/Makefile
2 --- jpcap-0.7/src/c/Makefile 2007-06-09 06:42:09.000000000 +0800
3 +++ jpcap-0.7_patched/src/c/Makefile 2009-06-10 15:45:58.729675447 +0800
4 @@ -12,7 +12,7 @@
6 ifeq ($(PLATFORM), Linux)
7 JNI_INCLUDE2 = $(JAVA_DIR)/include/linux
8 - COMPILE_OPTION = -shared -L.
9 + COMPILE_OPTION = -shared -L. -fPIC
10 SUFFIX = .so
11 else
12 ifeq ($(PLATFORM), FreeBSD)