mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 04:12:19 +08:00
71115afccd
* [liburing] update to 2.2 * update version
38 lines
981 B
Diff
38 lines
981 B
Diff
diff --git a/configure b/configure
|
|
index 2c2441b..620c443 100644
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -14,7 +14,7 @@ for opt do
|
|
;;
|
|
--includedir=*) includedir="$optarg"
|
|
;;
|
|
- --libdir=*) libdir="$optarg"
|
|
+ --datarootdir=*) libdir="$optarg"
|
|
;;
|
|
--libdevdir=*) libdevdir="$optarg"
|
|
;;
|
|
@@ -28,10 +28,12 @@ for opt do
|
|
;;
|
|
--nolibc) liburing_nolibc="yes"
|
|
;;
|
|
+ --enable-shared) ENABLE_SHARED=1
|
|
+ ;;
|
|
+ --enable-static) ENABLE_SHARED=0
|
|
+ ;;
|
|
*)
|
|
- echo "ERROR: unknown option $opt"
|
|
- echo "Try '$0 --help' for more information"
|
|
- exit 1
|
|
+ echo "WARNING: unknown option $opt"
|
|
;;
|
|
esac
|
|
done
|
|
@@ -130,6 +132,7 @@ echo "# Automatically generated by configure - do not modify" > $config_host_mak
|
|
printf "# Configured with:" >> $config_host_mak
|
|
printf " '%s'" "$0" "$@" >> $config_host_mak
|
|
echo >> $config_host_mak
|
|
+echo "ENABLE_SHARED=${ENABLE_SHARED}" >> $config_host_mak
|
|
|
|
do_cxx() {
|
|
# Run the compiler, capturing its output to the log.
|