fix Issue 23545 - export int a; should generate dllexport, not dllimport (#14680)

This commit is contained in:
Walter Bright 2023-02-07 16:27:41 -08:00 committed by GitHub
parent df03a1797d
commit f1b70f41f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 8 deletions

View file

@ -6,8 +6,11 @@ int main()
return DISABLED;
version (DigitalMars)
version (OSX) // Shared libraries are not yet supported on OSX
{
// Disable DM Dlls for now, need to redesign it
// version (OSX) // Shared libraries are not yet supported on OSX
return DISABLED;
}
Vars.set(`SRC`, `$EXTRA_FILES/dll`);
Vars.set(`EXE_NAME`, `$OUTPUT_BASE/testdll$EXE`);