Permalink
Browse files

Update linked libraries (#119)

Removed unused -lrt and added Library.private section in package config
file.
  • Loading branch information...
toanju authored and akoepsel committed Oct 5, 2018
1 parent 2bf2eb4 commit 8aa0a685eba65fa3509d3810d20be7ad06075a43
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS =
SUBDIRS =
noinst_PROGRAMS = controller
@@ -9,8 +9,7 @@ controller_SOURCES = \
controller.hpp \
controller.cpp
controller_LDADD = ../../src/rofl/librofl_common.la
-lpthread \
-lrt
controller_LDADD = ../../src/rofl/librofl_common.la
-lpthread
AM_LDFLAGS = -static
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS =
SUBDIRS =
noinst_PROGRAMS = datapath
@@ -9,8 +9,7 @@ datapath_SOURCES = \
datapath.hpp \
datapath.cpp
datapath_LDADD = ../../src/rofl/librofl_common.la
-lpthread \
-lrt
datapath_LDADD = ../../src/rofl/librofl_common.la
-lpthread
AM_LDFLAGS = -static
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS =
SUBDIRS =
noinst_PROGRAMS = ethswctld
@@ -21,8 +21,7 @@ ethswctld_SOURCES = \
cunixenv.cc \
cunixenv.h
ethswctld_LDADD = ../../src/rofl/librofl_common.la
-lpthread \
-lrt
ethswctld_LDADD = ../../src/rofl/librofl_common.la
-lpthread
AM_LDFLAGS = -static
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS =
SUBDIRS =
noinst_PROGRAMS = client
@@ -9,8 +9,7 @@ client_SOURCES = \
tcpclient.h \
tcpclient.cc
client_LDADD = ../../src/rofl/librofl_common.la
-lpthread \
-lrt
client_LDADD = ../../src/rofl/librofl_common.la
-lpthread
AM_LDFLAGS = -static
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS =
SUBDIRS =
noinst_PROGRAMS = server
@@ -9,8 +9,7 @@ server_SOURCES = \
tcpserver.h \
tcpserver.cc
server_LDADD = ../../src/rofl/librofl_common.la
-lpthread \
-lrt
server_LDADD = ../../src/rofl/librofl_common.la
-lpthread
AM_LDFLAGS = -static
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = openflow
SUBDIRS = openflow
noinst_LTLIBRARIES = librofl_common_base.la
@@ -52,9 +52,9 @@ librofl_common_base_la_SOURCES = \
cbuffer.hpp \
cbuffer.cpp
librofl_common_base_la_LIBADD=openflow/libopenflow.la -lrt
librofl_common_base_la_LIBADD=openflow/libopenflow.la
library_includedir=$(includedir)/rofl/common
library_include_HEADERS= \
@@ -7,5 +7,6 @@ Name: rofl-common
Description: Revised OpenFlow Library (common part)
Version: @ROFL_VERSION_NORMALIZED@
Libs: -L${libdir} -lrofl_common
Libs.private: -lpthread -lcrypto -lssl -lglog
Cflags: -I${includedir}

0 comments on commit 8aa0a68

Please sign in to comment.