You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

lconfigure.sh 1.6 kB

1234567891011121314151617181920212223242526272829
  1. #! /usr/bin/env bash
  2. ## *****************************************************************************
  3. ##
  4. ## Description : lconfigure is a script used for compiling third-party autotools
  5. ## projects with custom flags for Linux.
  6. ##
  7. ## *****************************************************************************
  8. ##/*===============================================================================*/
  9. ##/* Copyright (c) 2019 Elear Solutions Tech Private Limited. All rights reserved. */
  10. ##/* To any person (the "Recipient") obtaining a copy of this software and */
  11. ##/* associated documentation files (the "Software"): */
  12. ##/* */
  13. ##/* All information contained in or disclosed by this software is confidential */
  14. ##/* and proprietary information of Elear Solutions Tech Private Limited and all */
  15. ##/* rights therein are expressly reserved. By accepting this material the */
  16. ##/* recipient agrees that this material and the information contained therein is */
  17. ##/* held in confidence and in trust and will NOT be used, copied, modified, */
  18. ##/* merged, published, distributed, sublicensed, reproduced in whole or in part, */
  19. ##/* nor its contents revealed in any manner to others without the express */
  20. ##/* written permission of Elear Solutions Tech Private Limited. */
  21. ##/*===============================================================================*/
  22. make distclean
  23. autoreconf -fsi
  24. ./configure CFLAGS="-fPIC"
  25. make
  26. sudo make install
  27. sudo ldconfig