Change dynamic library extension depending on platform

Summary: don't hardcode .so extension. Different platforms use different extensions such as .dll, .so, .dylib

Reviewed By: lucasr

Differential Revision: D3785675

fbshipit-source-id: c326e330741e65a7f5d3cb4e4105894c582a2a12
This commit is contained in:
Emil Sjolander
2016-08-30 10:10:26 -07:00
committed by Facebook Github Bot 4
parent c28148caff
commit 1abb2d1714

2
BUCK
View File

@@ -37,7 +37,7 @@ cxx_library(
cxx_library(
name = 'CSSLayout_jni',
soname = 'libcsslayout.so',
soname = 'libcsslayout.$(ext)',
srcs = glob(['java/jni/*.c']),
exported_headers = subdir_glob([('', 'java/jni/*.h')]),
header_namespace = '',