diff --git a/bindings/Makefile.PL b/bindings/Makefile.PL index 38f870fb4..89cbd5b98 100644 --- a/bindings/Makefile.PL +++ b/bindings/Makefile.PL @@ -5,7 +5,7 @@ WriteMakefile( (#ABSTRACT_FROM => 'Hamlib.pm', # retrieve abstract from module AUTHOR => 'Stephane Fillod') : ()), # should use libtool somehow. Otherwise try -Wl,--rpath - #'LIBS' => ['-L../../src/.libs -lhamlib'], + #'LIBS' => ['-lhamlib'], #'DEFINE' => '', #'INC' => '', #'OBJECT' => 'hamlibperl_wrap.o', # link all the C files too diff --git a/bindings/Makefile.am b/bindings/Makefile.am index 2a6382b0c..3cd8a0fc7 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -24,7 +24,7 @@ Hamlib-pl.mk: $(srcdir)/Makefile.PL INC="$(INCLUDES)" \ CC="$(CC)" \ OBJECT="hamlibperl_wrap.o" VERSION="$(PACKAGE_VERSION)" \ - LIBS="-L$(top_builddir)/src/.libs -lhamlib" + LIBS="-lhamlib" all-perl: Hamlib-pl.mk hamlibperl_wrap.c $(MAKE) $(AM_MAKEFLAGS) -f Hamlib-pl.mk all