14
sharelib.py
14
sharelib.py
@@ -48,19 +48,7 @@ class SharelibHandler:
|
||||
def __export_lib(self, dist_path, path, libs):
|
||||
|
||||
for lib in libs:
|
||||
libFile = path +'/lib' + lib + '.a'
|
||||
libExist = False
|
||||
if os.path.isfile(libFile):
|
||||
shutil.copy(libFile, dist_path)
|
||||
libExist = True
|
||||
|
||||
libFile = path +'/lib' + lib + '.lib'
|
||||
if os.path.isfile(libFile):
|
||||
shutil.copy(libFile, dist_path)
|
||||
libExist = True
|
||||
|
||||
if libExist:
|
||||
self._LIB_LIST.append(lib)
|
||||
self._LIB_LIST.append(lib)
|
||||
|
||||
def __export_headers(self, dist_path, group, path, headers, all, need_path = True):
|
||||
dst = os.path.join(dist_path, group)
|
||||
|
Reference in New Issue
Block a user