Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d57aef

Browse files
committed
Build: Preserve symlinks when installing
Previously, the Jamfile would create a separate copy of Be.so for eachof the libraries that it installed. Here, it makes them all symlinkedto Be.so just like they were during build.Also includes a minor code style improvement.
1 parent11bd13d commit1d57aef

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎Jamfile‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ actions SoftLink
4444
$(RM) $(<) && $(LN) -sr $(>) $(<)
4545
}
4646

47+
# This replaces the built-in Install action.
48+
# This version preserves symlinks when copying.
49+
actions Install
50+
{
51+
$(CP) -P $(>) $(<)
52+
}
53+
4754
# Create multiple symlinks to a single file
4855
rule Symlink
4956
{
@@ -123,4 +130,4 @@ File __init__.py : bindings/__init__.py ;
123130

124131
# As part of `jam install`, copy the following files:
125132
InstallLib /boot/system/non-packaged/lib/python$(python_version)/site-packages/Be
126-
: $(sourceFiles:S=.so) Be.so __init__.py ;
133+
:Be.so$(sourceFiles:S=.so) __init__.py ;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp