| Line 148... |
Line 148... |
| 148 |
this, or always move away the newly installed package.
|
148 |
this, or always move away the newly installed package.
|
| 149 |
|
149 |
|
| 150 |
Should a package require external libraries, these can be placed under
|
150 |
Should a package require external libraries, these can be placed under
|
| 151 |
LOCAL_SOFT as defined in etc/x64/Makeconf in the copy.
|
151 |
LOCAL_SOFT as defined in etc/x64/Makeconf in the copy.
|
| 152 |
|
152 |
|
| - |
|
153 |
Some packages use pkg-config to query C flags or libraries to link and
|
| - |
|
154 |
unconditionally use "pkg-config" from PATH. For such packages one has to
|
| - |
|
155 |
arrange for "pkg-config" on PATH to call to the appropriate pkg-config
|
| - |
|
156 |
wrapper for the target platform and toolchain. With Rtools, it is
|
| - |
|
157 |
"x86_64-w64-mingw32.static.posix-pkg-config". This is not needed for
|
| - |
|
158 |
building R itself, R uses the wrapper directly.
|
| - |
|
159 |
|
| 153 |
When targeting aarch64 Windows, copy etc/Makeconf from the cross-build
|
160 |
When targeting aarch64 Windows, copy etc/Makeconf from the cross-build
|
| 154 |
(R_WIN) over etc/Makeconf of the linux build and edit the copy to have the
|
161 |
(R_WIN) over etc/Makeconf of the linux build and edit the copy to have the
|
| 155 |
R_XTRA_CPPFLAGS, pointing to the cross-build, as above. Copy bin/*.dll from
|
162 |
R_XTRA_CPPFLAGS, pointing to the cross-build, as above. Copy bin/*.dll from
|
| 156 |
the cross-build to bin/ in the linux build. Set R_CROSS_BUILD to
|
163 |
the cross-build to bin/ in the linux build. Set R_CROSS_BUILD to
|
| 157 |
"singlearch".
|
164 |
"singlearch".
|