Merge pull request #53886 from tex/tex/dlang

DMD to provide libphobos2.so.x.y
This commit is contained in:
Jörg Thalheim 2019-01-21 16:29:20 +00:00 committed by GitHub
commit f9aa74f451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,8 +98,6 @@ let
cd .. cd ..
''; '';
extension = if stdenv.hostPlatform.isDarwin then "a" else "{a,so}";
dontStrip = true; dontStrip = true;
installPhase = '' installPhase = ''
@ -120,7 +118,7 @@ let
cd ../phobos cd ../phobos
mkdir $out/lib mkdir $out/lib
cp generated/${osname}/release/${bits}/libphobos2.${extension} $out/lib cp generated/${osname}/release/${bits}/libphobos2.* $out/lib
cp -r std $out/include/d2 cp -r std $out/include/d2
cp -r etc $out/include/d2 cp -r etc $out/include/d2