blob: 4355779d7183eb400016790ad59fd2dc944608b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/lib/perl/Makefile.PL
+++ b/lib/perl/Makefile.PL
@@ -42,8 +42,8 @@
WriteMakefile(
'NAME' => 'pqos',
'VERSION' => "0.1",
- 'CCFLAGS' => "$Config{ccflags} -Wno-unused-variable -Wno-unused-value -Wno-misleading-indentation",
- 'LIBS' => ['-lpqos', '-L/usr/local/lib -lpqos'],
+ 'CCFLAGS' => "$Config{ccflags} -Wno-unused-variable -Wno-unused-value -Wno-misleading-indentation -I..",
+ 'LIBS' => ['-lpqos', '-L.. -lpqos'],
'OBJECT' => 'pqos_wrap.o',
'clean' => {FILES => "pqos_wrap.c"},
);
@@ -56,7 +56,7 @@
my $swig_target = <<"SWIG_MAKEFILE";
pqos_wrap.c:
- $swig -perl -outdir \$(INST_LIB) -I/usr/local/include \$(EXTRA_SWIGFLAGS) pqos.i
+ $swig -perl -outdir \$(INST_LIB) -I.. \$(EXTRA_SWIGFLAGS) pqos.i
SWIG_MAKEFILE
my $perltidy_targets = <<'PERLTIDY_MAKEFILE';
|