Fix build break on example
authorRyuan Choi <ryuan.choi@gmail.com>
Fri, 14 Jun 2013 00:25:38 +0000 (09:25 +0900)
committerRyuan Choi <ryuan.choi@gmail.com>
Fri, 14 Jun 2013 00:25:38 +0000 (09:25 +0900)
I got a below break while building example.

/usr/bin/ld: location_example_01.o: undefined reference to symbol 'elocation_address_free'
/usr/bin/ld: note: 'elocation_address_free' is defined in DSO /usr/elocal/lib/libelocation.so.0 so try adding it to the linker command line
/usr/elocal/lib/libelocation.so.0: could not read symbols: Invalid operation

src/examples/Makefile.am

index 13d2797..432a57a 100644 (file)
@@ -25,6 +25,7 @@ AM_CPPFLAGS = \
 
 LDADD = \
 @ELEMENTARY_LIBS@ \
+@ELEMENTARY_ELOCATION_LIBS@ \
 @ELEMENTARY_ETHUMB_LIBS@ \
 @ELEMENTARY_EMAP_LIBS@ \
 @ELEMENTARY_X_LIBS@ \