Skip to content

Commit

Permalink
Fix recipe for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ericriff committed Dec 20, 2019
1 parent 5211469 commit 796fcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/tinycbor/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class tinycborConan(ConanFile):
def _configure_autotools(self):
if not self._env_build:
self._env_build = AutoToolsBuildEnvironment(self)
self._env_build.fpic = self.options.fPIC
self._env_vars = self._env_build.vars
self._env_vars['DESTDIR'] = self.package_folder
if self.settings.os == "Windows":
Expand All @@ -29,6 +28,7 @@ def _configure_autotools(self):
else:
self._env_vars["BUILD_SHARED"] = "1" if self.options.shared else "0"
self._env_vars["BUILD_STATIC"] = "1" if not self.options.shared else "0"
self._env_build.fpic = self.options.fPIC
return self._env_build, self._env_vars

def configure(self):
Expand Down

0 comments on commit 796fcd8

Please sign in to comment.