Skip to content

Commit

Permalink
使构建程序,可编译与打包出能运行于 OSX 操作系统的可执行文件与动态链接库。包括:
Browse files Browse the repository at this point in the history
1. 区分发布系统,准备不同的 gtk+3 图形界面组件库链接库。
2. 将仅适用于 win32 的依赖项都设置为“可选依赖项”。
3. 为可执行程序准备 shell 启动引导脚本。在引导程序内,临时修改 DYLD_LIBRARY_PATH 环境变量。进而,导入非系统位置的链接库。
4. 在 nodejs ffi 包装程序内,以子进程的方式拉起图形界面,也是为了临时修改 DYLD_LIBRARY_PATH 环境变量。
5. 期望后续继续研究可执行程序的编译动态配置属性 rpath 的用法,以避免修改 DYLD_LIBRARY_PATH 环境变量。
  • Loading branch information
stuartZhang committed Nov 4, 2023
1 parent 61c012b commit 8e35b3c
Show file tree
Hide file tree
Showing 1,059 changed files with 1,294 additions and 1,236 deletions.
3 changes: 3 additions & 0 deletions .boilerplate/darwin/bin/scaffold-wizard.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
WORK_DIR=$(dirname $0)
DYLD_LIBRARY_PATH=$WORK_DIR/../lib:$DYLD_LIBRARY_PATH $WORK_DIR/scaffold-wizard
Binary file added .boilerplate/darwin/lib/libatk-1.0.0.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libcairo-gobject.2.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libcairo.2.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libgdk-3.0.dylib
Binary file not shown.
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libgio-2.0.0.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libglib-2.0.0.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libgobject-2.0.0.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libgtk-3.0.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libharfbuzz.0.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libintl.8.dylib
Binary file not shown.
Binary file added .boilerplate/darwin/lib/libpango-1.0.0.dylib
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 8e35b3c

Please sign in to comment.