|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../kmod/kmod.conf |
|
|
|
|
# Copyright (C) 2012 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2012 - 2013 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -18,6 +18,11 @@ set_confopt
|
|
|
|
|
# always build a static library |
|
|
|
|
var_append extraconfopt ' ' "--enable-static" |
|
|
|
|
|
|
|
|
|
# explicitely use --with-sysroot when not building native |
|
|
|
|
if ! atstage native; then |
|
|
|
|
var_append extraconfopt ' ' "--with-sysroot=$root" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# enable handling of compressed modules if possible |
|
|
|
|
for x in zlib xz; do |
|
|
|
|
if pkginstalled -f $x; then |
|
|
|
|