Makefile changes to fix linking errors
authorYuan Zhao <yuanzhao@ti.com>
Tue, 15 May 2018 14:32:10 +0000 (09:32 -0500)
committerYuan Zhao <yuanzhao@ti.com>
Tue, 15 May 2018 14:32:10 +0000 (09:32 -0500)
- MCT-984

examples/imagenet/Makefile
examples/segmentation/Makefile
examples/ssd_multibox/Makefile

index ed66fa145ac8b6b39cf32894a0ad7156748e6b8d..a5da07567f22f2bcaaea90e788efc9a35101c944 100644 (file)
@@ -3,7 +3,7 @@ EXE = imagenet
 include ../make.common
 
 CXXFLAGS += $(shell pkg-config --cflags opencv)
-LIBS     += $(shell pkg-config --libs --static opencv)
+LIBS     += $(shell pkg-config --libs opencv)
 
 SOURCES = main.cpp imagenet_classes.cpp
 
index c5806d9f6c9afb266cecce5c7fd824f831f13eb5..e9dc8bf67033365e9100cb46d8a9ea44932a73e0 100644 (file)
@@ -3,7 +3,7 @@ EXE = segmentation
 include ../make.common
 
 CXXFLAGS += $(shell pkg-config --cflags opencv)
-LIBS     += $(shell pkg-config --libs --static opencv)
+LIBS     += $(shell pkg-config --libs opencv)
 
 SOURCES = main.cpp object_classes.cpp
 
index 0a331dcc97f866e138e77926a2c52c5d1d419646..559067c25277f470bb11901b508ad7d79b368148 100644 (file)
@@ -3,7 +3,7 @@ EXE = ssd_multibox
 include ../make.common
 
 CXXFLAGS += $(shell pkg-config --cflags opencv)
-LIBS     += $(shell pkg-config --libs --static opencv)
+LIBS     += $(shell pkg-config --libs opencv)
 
 SOURCES = main.cpp ../segmentation/object_classes.cpp