Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win: VS to emit DLL which exports symbols #1811

Merged
merged 1 commit into from
Dec 30, 2015
Merged

win: VS to emit DLL which exports symbols #1811

merged 1 commit into from
Dec 30, 2015

Conversation

am11
Copy link
Contributor

@am11 am11 commented Dec 28, 2015

At present if we run dumpbin /exports win/bin/libsass.dll, we get:

C:\Users\Adeel\source\repos\libsass> dumpbin.exe /exports win/bin/libsass.dll
Microsoft (R) COFF/PE Dumper Version 14.00.23506.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file win/bin/libsass.dll

File Type: DLL

  Summary

        7000 .data
        1000 .gfids
        5000 .rdata
        3000 .reloc
        1000 .rsrc
       13000 .text

No exported functions.

With this change, we get the entire set of
exported functions. Note that it only affects the the DLL and not
shared LIB which we can build as:
msbuild win/libsass.sln /p:LIBSASS_STATIC_LIB=1.

@am11
Copy link
Contributor Author

am11 commented Dec 28, 2015

//cc @mgreter
I need this for p/invoke stuff: sass/libsass-net#34.

@am11 am11 force-pushed the master branch 4 times, most recently from dcd27f4 to 939fd5c Compare December 28, 2015 21:48
@xzyfer
Copy link
Contributor

xzyfer commented Dec 29, 2015

I have no objections.

@am11
Copy link
Contributor Author

am11 commented Dec 29, 2015

Coverage increased (+75.009%) to 77.311%

🚀

At present if we run `dumpbin /exports win/bin/libsass.dll`, we get:

```ps
C:\Users\Adeel\source\repos\libsass> dumpbin.exe /exports win/bin/libsass.dll
Microsoft (R) COFF/PE Dumper Version 14.00.23506.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file win/bin/libsass.dll

File Type: DLL

  Summary

        7000 .data
        1000 .gfids
        5000 .rdata
        3000 .reloc
        1000 .rsrc
       13000 .text
```

No exported functions.

With this change, we get the entire set of
exported functions. Note that it only affects the the `DLL` and not
shared `LIB` which we can build as:
`msbuild win/libsass.sln /p:LIBSASS_STATIC_LIB=1`.
xzyfer added a commit that referenced this pull request Dec 30, 2015
VS to emit DLL which exports symbols
@xzyfer xzyfer merged commit 15a2931 into sass:master Dec 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants