mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
28 lines
829 B
Diff
28 lines
829 B
Diff
diff --git a/setup.py b/setup.py
|
|
index 19b50f0..9302e4d 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -50,6 +50,8 @@ lz4frame_sources = [
|
|
'lz4/frame/_frame.c'
|
|
]
|
|
|
|
+liblz4_found = True
|
|
+
|
|
if liblz4_found is True:
|
|
libraries.append('lz4')
|
|
else:
|
|
@@ -86,9 +88,10 @@ if compiler == 'msvc':
|
|
extra_compile_args = ['/Ot', '/Wall']
|
|
elif compiler in ('unix', 'mingw32'):
|
|
if liblz4_found:
|
|
- extra_link_args.append(pkgconfig.libs('liblz4'))
|
|
- if pkgconfig.cflags('liblz4'):
|
|
- extra_compile_args.append(pkgconfig.cflags('liblz4'))
|
|
+ extra_link_args.append('-llz4')
|
|
+# extra_link_args.append(pkgconfig.libs('liblz4'))
|
|
+# if pkgconfig.cflags('liblz4'):
|
|
+# extra_compile_args.append(pkgconfig.cflags('liblz4'))
|
|
else:
|
|
extra_compile_args = [
|
|
'-O3',
|