This matches with what Debian does, and is what the gcc maintainers suggest. The idea is to have ldc internal headers (those that cannot be used by gdc and cause conflicts) in /usr/lib/ldc/%{_target_platform}/include/d/, and keep library header files (those that both ldc and gdc can use) in /usr/include/d/. https://bugzilla.redhat.com/show_bug.cgi?id=1781685epel9
parent
e4bba744df
commit
4150b47499
@ -0,0 +1,19 @@
|
|||||||
|
Description: Fix ldc.conf to search in right paths
|
||||||
|
|
||||||
|
ldc (1:1.1.0-2) unstable; urgency=medium
|
||||||
|
.
|
||||||
|
* Multiarch enable
|
||||||
|
* Install includes separately to avoid clash with gdc (Closes: #827211)
|
||||||
|
Author: Konstantinos Margaritis <markos@debian.org>
|
||||||
|
Bug-Debian: https://bugs.debian.org/827211
|
||||||
|
|
||||||
|
--- a/ldc2_install.conf.in
|
||||||
|
+++ b/ldc2_install.conf.in
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
// default switches appended after all explicit command-line switches
|
||||||
|
post-switches = [
|
||||||
|
"-I@INCLUDE_INSTALL_DIR@",
|
||||||
|
+ "-I/usr/include/d",
|
||||||
|
];
|
||||||
|
// default directories to be searched for libraries when linking
|
||||||
|
lib-dirs = [
|
Loading…
Reference in new issue