Skip to content

Commit 120e333

Browse files
committed
Added new target 'bundle-nolib' - dummy bundle
In opposite to the target 'bundle', this one doesn't try to add libraries. This can be useful if dylibbundler fails.
1 parent 5e89b60 commit 120e333

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,12 @@ ctags:
394394
release:
395395
cvs tag release-`cat VERSION | sed "s/\./-/g"`
396396

397-
bundle: all
397+
bundle-nolib: all
398398
mkdir -p $(BUNDLE)/Contents/MacOS
399399
cp $(TARGET) $(BUNDLE)/Contents/MacOS/
400400
cp -r data/MacOS-bundle-template/* $(BUNDLE)/
401401

402+
bundle: bundle-nolib
402403
@if `which dylibbundler`; then \
403404
dylibbundler -od -b -x $(BUNDLE)/Contents/MacOS/uv -d $(BUNDLE)/Contents/libs/; \
404405
if ( otool -L $(BUNDLE)/Contents/MacOS/uv | grep -q @rpath/libcudart.dylib ) ; then install_name_tool -change @rpath/libcudart.dylib @executable_path/../libs/libcudart.dylib $(BUNDLE)/Contents/MacOS/uv ; fi ; \

0 commit comments

Comments
 (0)