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

libsass: add mingw support and pure C consumer + del fPIC if shared + early checks in configure() + explicit pkg_config name #4240

Merged
merged 8 commits into from
Jan 14, 2021

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 13, 2021

Specify library name and version: libsass/all

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
@SpaceIm SpaceIm changed the title libsass: del fPIC if shared + add required_conan_version + explicit pkg_config name libsass: del fPIC if shared + early checks in configure() + explicit pkg_config name Jan 13, 2021
for tools.remove_files_by_mask()
@conan-center-bot
Copy link
Collaborator

All green in build 3 (e6c68f219cd536f18cb5f0f9768c378d8c7eb7a9)! 😊

mathbunnyru
mathbunnyru previously approved these changes Jan 13, 2021
@SpaceIm SpaceIm changed the title libsass: del fPIC if shared + early checks in configure() + explicit pkg_config name libsass: add mingw support and pure C consumer + del fPIC if shared + early checks in configure() + explicit pkg_config name Jan 13, 2021
@conan-center-bot
Copy link
Collaborator

All green in build 4 (48df4496fb3235bee622653adb6c294801405696)! 😊

@SSE4 SSE4 requested a review from uilianries January 13, 2021 16:45
tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))
tools.remove_files_by_mask(self.package_folder, "*.la")

def _install_mingw(self):
self.copy("*.h", dst="include", src=os.path.join(self._source_subfolder, "include"))
Copy link
Contributor

Choose a reason for hiding this comment

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

so, make install doesn't work for MinGW?

Copy link
Contributor Author

@SpaceIm SpaceIm Jan 13, 2021

Choose a reason for hiding this comment

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

Generally speaking, it should work, but install target calls something that didn't work on my computer (maybe a shell, so it can't work without msys2, not sure). Moreover it installs runtime in lib folder, so it's just easier to manually copy these files.

@conan-center-bot conan-center-bot merged commit cc5d108 into conan-io:master Jan 14, 2021
@SpaceIm SpaceIm deleted the fix/libsass-min-conan branch January 14, 2021 09:04
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.

6 participants