summarylogtreecommitdiffstats
path: root/01_use_installed_libffi.patch
blob: 9ff51f66cc507f4833a714cd8f0e280ecb2ffd17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Use installed libffi_pic.a
Author: NIIBE Yutaka <gniibe@fsij.org>
Reviewed-By: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2013-01-25

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -20,9 +20,9 @@
 GAUCHE_PACKAGE = @GAUCHE_PACKAGE@
 INSTALL        = @GAUCHE_INSTALL@
 
-CPPFLAGS       = -I./libffi/include -DGAUCHE_API_0_8_8 @CPPFLAGS@
+CPPFLAGS       = -DGAUCHE_API_0_8_8 @CPPFLAGS@
 LDFLAGS        = @LDFLAGS@
-LIBS           = libffi/.libs/libffi.a @LIBS@
+LIBS           = /usr/lib/libffi.so @LIBS@
 
 YACC           = @YACC@
 
@@ -38,7 +38,7 @@
 SCMFILES  = 
 HEADERS   = 
 
-TARGET    = libffi/.libs/libffi.a $(ARCHFILES)
+TARGET    = $(ARCHFILES)
 GENERATED = libffi
 CONFIG_GENERATED = libffi/Makefile Makefile cwcompile