mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-24 01:49:36 +02:00
refactor: Introduce TOOLCHAIN_PREFIX variable
This commit is contained in:
@@ -109,9 +109,9 @@ win32 {
|
||||
|
||||
INCLUDEPATH += "../.."
|
||||
|
||||
INCLUDEPATH += /local/include /local/include/libxml2 /local/include/net-snmp /include
|
||||
INCLUDEPATH += $$(TOOLCHAIN_PREFIX)/include $$(TOOLCHAIN_PREFIX)/include/libxml2 $$(TOOLCHAIN_PREFIX)/include/net-snmp /include
|
||||
|
||||
LIBS += -L/local/lib -L/local/bin
|
||||
LIBS += -L$$(TOOLCHAIN_PREFIX)/lib -L$$(TOOLCHAIN_PREFIX)/bin
|
||||
# LIBS += -l xslt -l xml2 -l iconv -l pthread -l ws2_32
|
||||
#LIBS += -l xslt -l xml2 -l iconv -l pthread -l netsnmp -l ws2_32
|
||||
LIBS += -lxslt -lxml2 -liconv -lpthread -lz -lws2_32
|
||||
|
||||
@@ -69,8 +69,8 @@ win32 {
|
||||
CONFIG += staticlib
|
||||
|
||||
DEFINES += LIBXML_STATIC LIBXSLT_STATIC
|
||||
INCLUDEPATH += /local/include /local/include/libxml2 /local/include/net-snmp /include
|
||||
LIBS += -L/local/lib -L/local/bin
|
||||
INCLUDEPATH += $$(TOOLCHAIN_PREFIX)/include $$(TOOLCHAIN_PREFIX)/include/libxml2 $$(TOOLCHAIN_PREFIX)/include/net-snmp /include
|
||||
LIBS += -L$$(TOOLCHAIN_PREFIX)/lib -L$$(TOOLCHAIN_PREFIX)/bin
|
||||
# LIBS += ws2_32.lib pthreadVC.lib
|
||||
LIBS += pthreadVC.lib
|
||||
LIBS += libxml2.lib libxslt_a.lib libz.a # zlib.lib
|
||||
|
||||
Reference in New Issue
Block a user