diff --git a/SMP/smp.props b/SMP/smp.props
index e2ed214..fc70bd8 100644
--- a/SMP/smp.props
+++ b/SMP/smp.props
@@ -87,7 +87,7 @@
lib$(RootNamespace)d
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -95,7 +95,7 @@
lib$(RootNamespace)d
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -103,7 +103,7 @@
$(RootNamespace)d
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -111,7 +111,7 @@
$(RootNamespace)d
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -119,7 +119,7 @@
lib$(RootNamespace)
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -127,7 +127,7 @@
lib$(RootNamespace)
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -135,7 +135,7 @@
$(RootNamespace)
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -143,7 +143,7 @@
$(RootNamespace)
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
diff --git a/SMP/smp_winrt.props b/SMP/smp_winrt.props
index 9b453a5..cb5f090 100644
--- a/SMP/smp_winrt.props
+++ b/SMP/smp_winrt.props
@@ -98,7 +98,7 @@
lib$(RootNamespace)d_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -106,7 +106,7 @@
lib$(RootNamespace)d_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -114,7 +114,7 @@
$(RootNamespace)d_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -122,7 +122,7 @@
$(RootNamespace)d_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -130,7 +130,7 @@
lib$(RootNamespace)_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -138,7 +138,7 @@
lib$(RootNamespace)_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -146,7 +146,7 @@
$(RootNamespace)_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
@@ -154,7 +154,7 @@
$(RootNamespace)_winrt
- $(ProjectDir)..\..\..\msvc\
+ $(ProjectDir)..\msvc\
$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\
$(ProjectDir)obj\Generated
Clean
diff --git a/gmp.pc.in b/gmp.pc.in
index bf1c799..d0c81be 100644
--- a/gmp.pc.in
+++ b/gmp.pc.in
@@ -8,4 +8,4 @@ Description: GNU Multiple Precision Arithmetic Library
URL: https://gmplib.org
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
-Libs: -L${libdir} -lgmp
+Libs: -L${libdir} @LIBS@
diff --git a/gmpxx.pc.in b/gmpxx.pc.in
index 181cc70..2b697ce 100644
--- a/gmpxx.pc.in
+++ b/gmpxx.pc.in
@@ -9,4 +9,4 @@ URL: https://gmplib.org
Version: @PACKAGE_VERSION@
Requires: gmp
Cflags: -I${includedir}
-Libs: -L${libdir} -lgmpxx
+Libs: -L${libdir} @LIBS@