Mercurial > vim
comparison src/Make_cyg.mak @ 5537:805ad8488dc8 v7.4.117
updated for version 7.4.117
Problem: Can't build with Cygwin/MingW and Perl 5.18.
Solution: Add a linker argument for the Perl library. (Cesar Romani)
Adjust CFLAGS and LIB. (Cesar Romani)
Move including inline.h further down. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 11 Dec 2013 15:06:40 +0100 |
parents | de9a01851ebd |
children | 1bff71d20262 |
comparison
equal
deleted
inserted
replaced
5536:307513f44afe | 5537:805ad8488dc8 |
---|---|
1 # | 1 # |
2 # Makefile for VIM on Win32, using Cygnus gcc | 2 # Makefile for VIM on Win32, using Cygnus gcc |
3 # Last updated by Dan Sharp. Last Change: 2013 Nov 28 | 3 # Last updated by Dan Sharp. Last Change: 2013 Dec 11 |
4 # | 4 # |
5 # Also read INSTALLpc.txt! | 5 # Also read INSTALLpc.txt! |
6 # | 6 # |
7 # This compiles Vim as a Windows application. If you want Vim to run as a | 7 # This compiles Vim as a Windows application. If you want Vim to run as a |
8 # Cygwin application use the Makefile (just like on Unix). | 8 # Cygwin application use the Makefile (just like on Unix). |
153 endif | 153 endif |
154 | 154 |
155 ifeq (yes, $(DYNAMIC_PERL)) | 155 ifeq (yes, $(DYNAMIC_PERL)) |
156 DEFINES += -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\" | 156 DEFINES += -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl$(PERL_VER).dll\" |
157 else | 157 else |
158 EXTRA_LIBS += $(PERL)/lib/CORE/perl$(PERL_VER).lib | 158 EXTRA_LIBS += -L$(PERL)/lib/CORE -lperl$(PERL_VER) |
159 endif | 159 endif |
160 endif | 160 endif |
161 | 161 |
162 ############################## | 162 ############################## |
163 # DYNAMIC_PYTHON=yes works. | 163 # DYNAMIC_PYTHON=yes works. |