|
|
|
@ -28,7 +28,8 @@ hook_add postmake 5 "cp -fv pcap-int.h $root/$prefix/include/"
|
|
|
|
|
|
|
|
|
|
# we need to perform some config hacking for cross compilation ... :-( |
|
|
|
|
if ! atstage native; then |
|
|
|
|
var_append confopt " " "--with-pcap=linux --cache=./config.cache" |
|
|
|
|
hook_add preconf 5 "echo 'ac_cv_linux_vers=2' >> ./config.cache" |
|
|
|
|
var_append configcache ' ' 'ac_cv_linux_vers=2' |
|
|
|
|
|
|
|
|
|
var_append confopt " " "--with-pcap=linux" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|