Browse Source

Bugfix: Correct order of libblkmaker libraries so static builds work

Luke Dashjr 13 years ago
parent
commit
73c4b0061c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.am

+ 1 - 1
Makefile.am

@@ -35,7 +35,7 @@ if NEED_LIBBLKMAKER
 SUBDIRS           += libblkmaker
 bfgminer_CPPFLAGS += -Ilibblkmaker
 bfgminer_LDFLAGS  += -Llibblkmaker/.libs -Wl,-rpath,libblkmaker/.libs
-bfgminer_LDADD    += -lblkmaker-0.1 -lblkmaker_jansson-0.1
+bfgminer_LDADD    += -lblkmaker_jansson-0.1 -lblkmaker-0.1
 
 if HAVE_CYGWIN
 bfgminer_DEPENDENCIES += cygblkmaker-0.1-0.dll cygblkmaker_jansson-0.1-0.dll