Skip to content

Commit

Permalink
Fix naming of libintl.h on win (#30)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Apr 3, 2024
2 parents 47a45eb + b126718 commit 91ecbfa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion recipe/install-libintl-devel.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if not exist %LIBRARY_PREFIX%\include md %LIBRARY_PREFIX%\include
if errorlevel 1 exit 1

copy gettext-runtime\intl\libintl.h %LIBRARY_PREFIX%\include\intl.h
copy gettext-runtime\intl\libintl.h %LIBRARY_PREFIX%\include\libintl.h
if errorlevel 1 exit 1

if not exist %LIBRARY_PREFIX%\lib md %LIBRARY_PREFIX%\lib
Expand Down
10 changes: 7 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source:
- 0008-Avoid-close-inconsistencies.patch # [win]

build:
number: 0
number: 1
ignore_run_exports:
- libcxx
- libstdcxx-ng
Expand Down Expand Up @@ -78,8 +78,10 @@ outputs:
- if not exist %PREFIX%\Library\bin\intl-*.dll exit /b 1 # [win]
# The unversioned variants as well as the lib on Windows should be in the main gettext package.
- test ! -f ${PREFIX}/lib/libintl$SHLIB_EXT # [not win]
- test ! -f ${PREFIX}/include/libintl.h # [osx]
- if exist %PREFIX%\Library\lib\intl.dll.lib exit /b 1 # [win]
- if exist %PREFIX%\Library\lib\intl.lib exit /b 1 # [win]
- if exist %PREFIX%\Library\lib\intl.lib exit /b 1 # [win]
- if exist %PREFIX%\Library\include\libintl.h exit /b1 # [win]
about:
home: https://www.gnu.org/software/gettext/
license: LGPL-2.1-or-later
Expand Down Expand Up @@ -117,8 +119,10 @@ outputs:
test:
commands:
- test -f ${PREFIX}/lib/libintl${SHLIB_EXT} # [osx]
- test -f ${PREFIX}/include/libintl.h # [osx]
- if not exist %PREFIX%\Library\lib\intl.dll.lib exit /b 1 # [win]
- if not exist %PREFIX%\Library\lib\intl.lib exit /b 1 # [win]
- if not exist %PREFIX%\Library\lib\intl.lib exit /b 1 # [win]
- if not exist %PREFIX%\Library\include\libintl.h exit /b1 # [win]
about:
home: https://www.gnu.org/software/gettext/
license: LGPL-2.1-or-later
Expand Down

0 comments on commit 91ecbfa

Please sign in to comment.