Skip to content

Commit

Permalink
Build: Static on OSX, dynamic on Linux (esy-packages#14)
Browse files Browse the repository at this point in the history
* Split out linux/OSX libraries; keep harfbuzz shared on linux

* Bring back dynamic linking for Linux
  • Loading branch information
bryphe authored Mar 6, 2020
1 parent 979c9ce commit af15801
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions esy/configure-linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd _build
./configure --prefix=$cur__install
File renamed without changes.
Empty file modified esy/configure-windows.sh
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"esy": {
"build": [
["./esy/prep.sh"],
["bash", "-c", "#{os == 'windows' ? './esy/configure-windows.sh' : './esy/configure.sh'}"],
["bash", "-c", "#{os == 'windows' ? './esy/configure-windows.sh' : 'echo'}"],
["bash", "-c", "#{os == 'darwin' ? './esy/configure-osx.sh' : 'echo'}"],
["bash", "-c", "#{os == 'linux' ? './esy/configure-linux.sh' : 'echo'}"],
["./esy/build.sh"]
],
"buildsInSource": "_build",
Expand Down

0 comments on commit af15801

Please sign in to comment.