Skip to content

Commit

Permalink
net/ecal: Fix build with protobuf 22+
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Dec 14, 2023
1 parent 8ab7917 commit 16567d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net/ecal/Makefile
Expand Up @@ -25,7 +25,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libyaml-cpp.so:devel/yaml-cpp
# binaries aren't linked with libfineftp-server.so, see https://github.com/continental/ecal/issues/381; same with libcurl.so

USES= cmake desktop-file-utils localbase:ldflags qt:5 shared-mime-info
USES= cmake compiler:c++17-lang desktop-file-utils localbase:ldflags qt:5 shared-mime-info
USE_QT= core gui widgets buildtools:build qmake:build
USE_LDCONFIG= yes

Expand All @@ -50,6 +50,8 @@ CMAKE_ARGS= -DGIT_REVISION_MAJOR=${DISTVERSION:R:R} \
-Dqwt_LIBRARY=${LOCALBASE}/lib/qt5/libqwt6.so

CXXFLAGS+= -pthread # see https://github.com/eclipse-ecal/ecal/issues/933
LDFLAGS+= -labsl_hash -labsl_log_internal_message -labsl_log_internal_nullguard -labsl_spinlock_wait
USE_CXXSTD= c++17

PLIST_SUB= VERSION=${DISTVERSION}

Expand Down

0 comments on commit 16567d7

Please sign in to comment.