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

Bugfix:function setenv() and unsetenv() are invalid on windows AND no variable prefix set for WIN32 in CMakeLists #308

Merged
merged 2 commits into from
Feb 17, 2017

Conversation

AxisRay
Copy link
Contributor

@AxisRay AxisRay commented Aug 16, 2015

The original setenv() and unsetenv() function are invalid on windows.
It caused that the config file libnfc.conf have no effect on windows.
I have rewrited them to fix.

The original setenv() and unsetenv() function is invalid,I have rewrited to fix.
@AxisRay AxisRay changed the title Bugfix:function setenv()and unsetenv() is invalid Bugfix:function setenv()and unsetenv() is invalid on windows Aug 16, 2015
@AxisRay AxisRay changed the title Bugfix:function setenv()and unsetenv() is invalid on windows Bugfix:function setenv() and unsetenv() are invalid on windows Aug 16, 2015
@AxisRay
Copy link
Contributor Author

AxisRay commented Aug 16, 2015

There is a new bug.
CMakeLists.txt in commit ef74d81

...
  set ( LIBNFC_LIBRARY_DIRS ${libdir} )
  set ( LIBNFC_ROOT_DIR ${prefix} )
  set ( LIBNFC_VERSION_STRING ${VERSION} )
...

But there is no variable prefix set for WIN32...
BTW,Is there any difference between perfix and CMAKE_INSTALL_PREFIX?

@AxisRay AxisRay changed the title Bugfix:function setenv() and unsetenv() are invalid on windows Bugfix:function setenv() and unsetenv() are invalid on windows AND no variable prefix set for WIN32 in CMakeLists Aug 16, 2015
@doegox
Copy link
Member

doegox commented Feb 17, 2017

Thank you for your contribution

@doegox doegox merged commit be1b897 into nfc-tools:master Feb 17, 2017
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.

None yet

2 participants