Skip to content

Commit d44efa5

Browse files
author
Ritvik Rao
committed
install name only for darwin
1 parent 715e700 commit d44efa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def batch_rename(src, dst, src_dir_fd=None, dst_dir_fd=None):
266266
os.rename(src, dst,
267267
src_dir_fd=src_dir_fd,
268268
dst_dir_fd=dst_dir_fd)
269-
if "c_object_store" in src:
269+
if "c_object_store" in src and system == "darwin":
270270
direc = src.rsplit('/', 1)
271271
install_name_command = "install_name_tool -change lib/libcharm.dylib "
272272
install_name_command += direc[0]

0 commit comments

Comments
 (0)