commit cdabc6333673ebef207d81d9e2797f94d6e16bbf
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Feb 3 07:54:50 2018 +0000
Revert: Use pkgconfig to get include/libs instead of hardcoding
VirtualBox.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index b79e2cc..62c7ee5 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -325,10 +325,10 @@ kmk %{_smp_mflags} \
VBOX_USE_SYSTEM_XORG_HEADERS=1 \
VBOX_USE_SYSTEM_GL_HEADERS=1 \
VBOX_NO_LEGACY_XORG_X11=1 \
- SDK_VBOX_LIBPNG_INCS="$(pkgconf --cflags libpng)" \
- SDK_VBOX_LIBXML2_INCS="$(pkgconf --cflags libxml-2.0)" \
- SDK_VBOX_OPENSSL_INCS="$(pkgconf --cflags openssl)" \
- SDK_VBOX_OPENSSL_LIBS="$(pkgconf --libs openssl)" \
+ SDK_VBOX_LIBPNG_INCS=/usr/include/libpng16 \
+ SDK_VBOX_LIBXML2_INCS=/usr/include/libxml2 \
+ SDK_VBOX_OPENSSL_INCS= \
+ SDK_VBOX_OPENSSL_LIBS="ssl crypto" \
SDK_VBOX_ZLIB_INCS= \
%if %{with docs}
Show replies by date