]> git.pld-linux.org Git - packages/Firebird.git/blob - Firebird-link-with-g++.dpatch
- up to 2.1.0.17798-0
[packages/Firebird.git] / Firebird-link-with-g++.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 008_link-with-g++.dpatch by  <divanov@creditreform.bg>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: use g++ to link objects
6
7 @DPATCH@
8
9 --- firebird-1.5.4.4910/builds/posix/make.rules.orig    2006-11-05 15:37:30.000000000 +0100
10 +++ firebird-1.5.4.4910/builds/posix/make.rules 2007-02-17 23:05:38.259344867 +0100
11 @@ -91,17 +91,17 @@
12  ifdef UseLibToolForLink
13  
14  
15 -    LIB_LINK= libtool $(CC(
16 -    STATICLIB_LINK = libtool $(CC) -all-static
17 +    LIB_LINK= libtool $(CXX)
18 +    STATICLIB_LINK = libtool $(CXX) -all-static
19  #    LIB_LINK_OPTIONS = -version-info 0:0:0 -release 1.5.0.0 -rpath /usr/lib
20      LIB_LINK_OPTIONS += -version-info 0:0:0 -release 1.5.0.0 $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib
21  
22 -    EXE_LINK = libtool $(CC)
23 -    STATICEXE_LINK = libtool $(CC) -all-static
24 +    EXE_LINK = libtool $(CXX)
25 +    STATICEXE_LINK = libtool $(CXX) -all-static
26  else
27  
28      ifndef LIB_LINK
29 -       LIB_LINK= $(CC)
30 +       LIB_LINK= $(CXX)
31      endif
32      
33      STATICLIB_LINK= ar cruvs
This page took 0.032764 seconds and 3 git commands to generate.