[packages/qt4] make QMAKE_LIBS modifiable from within OpenWrt Makefiles invoking qmake
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25489 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7b7778e189
commit
51d623f770
@ -22,6 +22,7 @@ define Build/Configure/Qmake
|
||||
TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
TARGET_INCDIRS="$(TARGET_INCDIRS)" \
|
||||
TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
|
||||
TARGET_LIBS="$(TARGET_LIBS)" \
|
||||
STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
qmake \
|
||||
|
@ -21,6 +21,7 @@ QMAKE_CFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_CXXFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_LINK = $$(TARGET_CXX)
|
||||
QMAKE_LINK_C = $$(TARGET_CC)
|
||||
QMAKE_LIBS = $$(TARGET_LIBS)
|
||||
QMAKE_LFLAGS = $$(TARGET_LDFLAGS) # this will end up in redundant "-L"-strings, as they're already in $QMAKE_LIBDIR_QT, however TARGET_LDFLAGS may contain not only directories but special linker options
|
||||
|
||||
#unset vars which would intefere with vars/flags passed over by OpenWrt
|
||||
|
@ -26,6 +26,7 @@ QMAKE_CFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_CXXFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_LINK = $$(TARGET_CXX)
|
||||
QMAKE_LINK_C = $$(TARGET_CC)
|
||||
QMAKE_LIBS = $$(TARGET_LIBS)
|
||||
QMAKE_LFLAGS = $$(TARGET_LDFLAGS) # this will end up in redundant "-L"-strings, as they're already in $QMAKE_LIBDIR_QT, however TARGET_LDFLAGS may contain not only directories but special linker options
|
||||
|
||||
#unset vars which would intefere with vars/flags passed over by OpenWrt
|
||||
|
Loading…
x
Reference in New Issue
Block a user