소스 검색

add includedirs for libxml2

ruki 7 년 전
부모
커밋
69076784ae
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/l/libxml2/xmake.lua

+ 2 - 0
packages/l/libxml2/xmake.lua

@@ -17,6 +17,7 @@ package("libxml2")
     on_install("windows", function (package)
         os.cd("win32")
         os.vrun("nmake /f Makefile.msvc install")
+        package:add("includedirs", "include/libxml2")
     end)
 
     on_build("macosx", "linux", function (package)
@@ -25,4 +26,5 @@ package("libxml2")
 
     on_install("macosx", "linux", function (package)
         import("package.builder.autoconf").install(package)
+        package:add("includedirs", "include/libxml2")
     end)