summaryrefslogtreecommitdiff
path: root/camlibs/template
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/template')
-rw-r--r--camlibs/template/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/camlibs/template/Makefile.am b/camlibs/template/Makefile.am
index 6c43bef92..cd0c64453 100644
--- a/camlibs/template/Makefile.am
+++ b/camlibs/template/Makefile.am
@@ -5,4 +5,8 @@ INCLUDES = -I$(top_srcdir)/include
libgphoto2_template_la_SOURCES = template.c template.h
-libgphoto2_template_la_LDFLAGS = -version-info 0:0:0
+libgphoto2_template_la_LDFLAGS =\
+ -avoid-version\
+ -L$(shell pwd)/$(top_builddir)/libgphoto2/.libs
+
+libgphoto2_template_la_LIBADD = -lgphoto2