summaryrefslogtreecommitdiff
blob: dbafd483d926b3e6167e2ceeee8f5033f28d22c8 (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
--- a/perlnative/Makefile.in
+++ b/perlnative/Makefile.in
@@ -29,10 +29,10 @@
 # Building binaries
 PERL = @PERL@
 POD2HTML = @POD2HTML@
-CC = gcc
+CC = @CC@
 INC = -I. -I../.. -I$(MYHEADDIR) -I$(HOME)/include -I/usr/local/include
 OPTIMIZE = @MYOPTIMIZE@
-LD = gcc
+LD = @CC@
 LIBS = -L../.. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib @LIBS@
 RUNENV = LD_LIBRARY_PATH=.:..:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
 
@@ -46,7 +46,7 @@
 all :
 	( cd src && if ! [ -f Makefile ] ; \
 	  then $(RUNENV) $(PERL) Makefile.PL CC="$(CC)" INC="$(INC)" OPTIMIZE="$(OPTIMIZE)" \
-	  LD="$(LD)" LIBS="$(LIBS)" PREFIX="$(prefix)" ; fi )
+	  LD="$(LD)" LIBS="$(LIBS)" PREFIX="$(prefix)" INSTALLDIRS="vendor" ; fi )
 	( cd src && make )
 	@printf '\n'
 	@printf '#================================================================\n'