language: cpp

sudo: true

os: linux

compiler:
  - gcc

before_install:
  # so that adjusted PATH propagates into sudo
  - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
  - sudo apt-get install flawfinder

install:
  - ./autogen.sh
  - ./configure --prefix=/usr/local
  - make
  - sudo make install
  - sudo ldconfig

script:
  - make test

language: cpp

sudo: true

os: linux

compiler:
  - gcc

before_install:
  # so that adjusted PATH propagates into sudo
  - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
  - sudo apt-get install flawfinder

install:
  - ./autogen.sh
  - ./configure --prefix=/usr/local
  - make
  - sudo make install
#  - sudo ldconfig

script:
  - make test

Disable ldconfig to see if -L LDFLAG fixes linking path
Disable ldconfig to see if -L LDFLAG fixes linking path
