lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one p


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one place
Date: Mon, 21 Nov 2022 17:29:18 -0500 (EST)

branch: master
commit c6528973d37570a06d76814c2075940806b139f1
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Specify all '*FLAGS' in one place
---
 install_wx.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install_wx.sh b/install_wx.sh
index 1a242574..8dcf4d57 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -93,8 +93,6 @@ config_options="
   --with-cxx=11
   --without-opengl
   --without-subdirs
-  CPPFLAGS=-I$prefix/include
-  LDFLAGS=-L$exec_prefix/lib
 "
 
 [ -n "$mingw_bin_dir" ] && export PATH="$mingw_bin_dir:${PATH}"
@@ -118,8 +116,10 @@ cd "$build_dir"
 # 'config_options' must not be double-quoted
 # shellcheck disable=SC2086
 "$wx_dir"/configure $config_options \
+  CPPFLAGS="-I$prefix/include" \
     CFLAGS="$wx_cc_flags" \
   CXXFLAGS="$wx_cxx_flags" \
+   LDFLAGS="-L$exec_prefix/lib" \
 
 $MAKE
 $MAKE install



reply via email to

[Prev in Thread] Current Thread [Next in Thread]