SHARE
TWEET

Untitled

a guest Jan 24th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
  2. index 0b1f5fde54..c8236efa4c 100644
  3. --- a/rbutil/rbutilqt/rbutilqt.pro
  4. +++ b/rbutil/rbutilqt/rbutilqt.pro
  5. @@ -76,6 +76,15 @@ message("using Rockbox basedir $$RBBASE_DIR")
  6.      LIBSPEEX = $$system(pkg-config --silence-errors --libs speex speexdsp)
  7.  }
  8.  
  9. +# Try different names for libcryptopp. Different distros use different names
  10. +# (for whatever reason)
  11. +unix {
  12. +    CRYPTOPP = $$system(pkg-config --silence-errors --libs libcryptopp)
  13. +    CRYPTOPP += $$system(pkg-config --silence-errors --libs libcrypto++)
  14. +    CRYPTOPP += $$system(pkg-config --silence-errors --libs cryptopp)
  15. +    CRYPTOPP += $$system(pkg-config --silence-errors --libs crypto++)
  16. +}
  17. +
  18.  extralibs.commands = $$SILENT \
  19.          $(MAKE) -f $$RBBASE_DIR/rbutil/rbutilqt/Makefile.libs \
  20.          $$VERBOSE \
  21. @@ -129,6 +138,7 @@ INCLUDEPATH += logger
  22.  
  23.  DEPENDPATH = $$INCLUDEPATH
  24.  
  25. +LIBS += $$CRYPTOPP
  26.  LIBS += -L$$OUT_PWD -L$$MYLIBBUILDDIR
  27.  # append all RBLIBS to LIBS
  28.  for(rblib, RBLIBS) {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top