Cleanup for package vigra: compile test program directly with g++ instead of gcc with -lstdc++

This commit is contained in:
Volker Grabsch 2011-09-22 09:57:26 +02:00
parent 73eaf1476e
commit b53d4166a6
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ define $(PKG)_BUILD
-DWITH_VALGRIND=OFF
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install
$(TARGET)-gcc \
$(TARGET)-g++ \
'$(2).cpp' -o $(PREFIX)/$(TARGET)/bin/test-vigra.exe \
-DVIGRA_STATIC_LIB \
-lvigraimpex `'$(TARGET)-pkg-config' OpenEXR --cflags --libs` -ltiff -lpng -ljpeg -lz -lstdc++
-lvigraimpex `'$(TARGET)-pkg-config' OpenEXR --cflags --libs` -ltiff -lpng -ljpeg -lz
endef