Browse Source

wx-config for linux

David Rose 16 years ago
parent
commit
57060ca789
2 changed files with 2 additions and 0 deletions
  1. 1 0
      dtool/Package.pp
  2. 1 0
      dtool/pptempl/Global.pp

+ 1 - 0
dtool/Package.pp

@@ -360,6 +360,7 @@
   #define WX_CFLAGS $[filter-out -I%,$[cflags]]
   #define WX_IPATH $[unique $[patsubst -I%,%,$[filter -I%,$[cflags]]]]
   #define WX_LPATH $[unique $[patsubst -L%,%,$[filter -L%,$[libs]]]]
+  #define WX_LFLAGS $[filter-out -l%,$[libs]]
   #define WX_LIBS $[patsubst -l%,%,$[filter -l%,$[libs]]]
 #endif
 

+ 1 - 0
dtool/pptempl/Global.pp

@@ -353,6 +353,7 @@
   #define wx_ipath $[wildcard $[WX_IPATH]]
   #define wx_lpath $[wildcard $[WX_LPATH]]
   #define wx_cflags $[WX_CFLAGS]
+  #define wx_lflags $[WX_LFLAGS]
   #define wx_libs $[WX_LIBS]
   #define wx_framework $[WX_FRAMEWORK]
 #endif