]>
Commit | Line | Data |
---|---|---|
32938903 AM |
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 | ||
5472bf2d JB |
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 @@ | |
32938903 AM |
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 | ||
5472bf2d JB |
28 | ifndef LIB_LINK |
29 | - LIB_LINK= $(CC) | |
30 | + LIB_LINK= $(CXX) | |
31 | endif | |
32 | ||
32938903 | 33 | STATICLIB_LINK= ar cruvs |