mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:31:27 +08:00
87179c1b43
* [hwloc] update to 2.7.0 * update version * update patch * update version * fix-osx-support * update version * set CoreFoundation * update version * reset CoreFoundation * update version * [hpx] Fix dependency hwloc * version * [hpx] Add osx component iokit * overwrite hpx version * version * update version * osx support * overwrite version * add license * format-manifest * update version * add license * update version Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 8af26ec..0d52b00 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -127,6 +127,8 @@ AS_IF([test "$enable_embedded_mode" != "yes"],
|
|
####################################################################
|
|
|
|
AC_SUBST([libhwloc_so_version])
|
|
+libhwloc_so_version_current_minus_age=`expr [[ $libhwloc_so_version=~ ([[:digit:]]+):[[:digit:]]+:([[:digit:]]+) ]] && real_so_ver=$(expr ${BASH_REMATCH[1]} - ${BASH_REMATCH[2]})`
|
|
+AC_SUBST(libhwloc_so_version_current_minus_age)
|
|
AC_SUBST([libhwloc_so_name])
|
|
|
|
# Setup the hwloc core
|
|
diff --git a/hwloc/Makefile.am b/hwloc/Makefile.am
|
|
index 4b3800a..f96473c 100644
|
|
--- a/hwloc/Makefile.am
|
|
+++ b/hwloc/Makefile.am
|
|
@@ -189,11 +189,10 @@ if HWLOC_HAVE_WINDOWS
|
|
|
|
LC_MESSAGES=C
|
|
export LC_MESSAGES
|
|
-ldflags += -Xlinker --output-def -Xlinker .libs/libhwloc.def
|
|
|
|
if HWLOC_HAVE_MS_LIB
|
|
.libs/libhwloc.lib: libhwloc.la
|
|
- [ ! -r .libs/libhwloc.def ] || "$(HWLOC_MS_LIB)" -machine:$(HWLOC_MS_LIB_ARCH) -def:.libs/libhwloc.def -name:libhwloc-$(libhwloc_so_name) -out:.libs/libhwloc.lib
|
|
+# [ ! -r .libs/libhwloc.def ] || "$(HWLOC_MS_LIB)" -machine:$(HWLOC_MS_LIB_ARCH) -def:.libs/libhwloc.def -name:libhwloc-$(libhwloc_so_name) -out:.libs/libhwloc.lib
|
|
all-local: .libs/libhwloc.lib
|
|
endif HWLOC_HAVE_MS_LIB
|
|
|