Skip to content

Conversation

@redstar
Copy link
Member

@redstar redstar commented Jun 25, 2015

If a target file name is given (-of) and a library is created then
-singleObj is implied. This results in behaviour not compatible
with dmd. This commit checks for this situation and does not set
-singleObj. This fixes issue #978.

driver/main.cpp Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|| !

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I call efficient communication. ;)

If a target file name is given (`-of`) and a library is created then
`-singleObj` is implied. This results in behaviour not compatible
with dmd. This commit checks for this situation and does not set
`-singleObj`. This fixes issue ldc-developers#978.
@redstar redstar merged commit d7347a5 into ldc-developers:master Jun 26, 2015
@redstar redstar deleted the issue978 branch June 27, 2015 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants