diff options
| -rw-r--r-- | ports/mman/portfile.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/mman/portfile.cmake b/ports/mman/portfile.cmake index 0330cdd2c..f4eb270c8 100644 --- a/ports/mman/portfile.cmake +++ b/ports/mman/portfile.cmake @@ -29,9 +29,9 @@ file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- file(READ ${CURRENT_PACKAGES_DIR}/include/sys/mman.h _contents)
+ file(READ ${CURRENT_PACKAGES_DIR}/include/mman/sys/mman.h _contents)
string(REPLACE "__declspec(dllimport)" "" _contents "${_contents}")
- file(WRITE ${CURRENT_PACKAGES_DIR}/include/sys/mman.h "${_contents}")
+ file(WRITE ${CURRENT_PACKAGES_DIR}/include/mman/sys/mman.h "${_contents}")
endif()
vcpkg_copy_pdbs()
|
