Fix how library dependencies are built

Release_1.3_Bugfix
Bradlee Speice 2012-07-23 08:53:32 -04:00
parent 04131913b2
commit 98dbd7ef83
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
if BUILD_EXAMPLES
#Need to include the -Ilibcvautomation so that libcvautomation.h can find everything that it needs
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@
#Build only if we're building the examples

View File

@ -6,5 +6,5 @@ includedir=@includedir@
Name: Libcvautomation
Description: GUI Automation and Testing tool based on OpenCV and XTest
Version: @VERSION@
Libs: -L${libdir} -lcvautomation @CV_LIBS@ @X11_LIBS@ @XTEST_LIBS@
Cflags: -I${includedir} @CV_CFLAGS@ @X11_CFLAGS@ @XTEST_CFLAGS@
Libs: -L${libdir} -lcvautomation
Cflags: -I${includedir}

View File

@ -1,5 +1,5 @@
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include/
AM_LDFLAGS =
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@
AM_LDFLAGS = @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@
AM_LIBS = -shared
#Lists the libraries to build