Skip to content

Commit

Permalink
Fix system test
Browse files Browse the repository at this point in the history
  • Loading branch information
gon1332 committed Jan 28, 2025
1 parent 01a1665 commit eb61746
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ FROM ubuntu:22.04

RUN apt-get update && apt-get install -y \
build-essential \
autoconf \
automake \
libtool \
cmake \
ninja-build \
libsnmp-dev \
&& rm -rf /var/lib/apt/lists/*

COPY . /project
WORKDIR /project

RUN autoreconf -fi && ./configure && make
RUN cmake --preset package && cmake --build --preset package

ENTRYPOINT ["src/ptpd2"]
ENTRYPOINT ["cmake-build-package/src/ptpd2"]

2 changes: 1 addition & 1 deletion scripts/utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function(generate_configuration in out)
check_include_files(net/ethernet.h HAVE_NET_ETHERNET_H)
check_include_files(net/if_ether.h HAVE_NET_IF_ETHER_H)
check_include_files(netinet/ether.h HAVE_NETINET_ETHER_H)
check_include_files("sys/socket.h;arpa/inet.h;sys/types.;net/if_arp.h;net/if.h;netinet/if_ether.h" HAVE_NETINET_IF_ETHER_H)
check_include_files(netinet/if_ether.h HAVE_NETINET_IF_ETHER_H)
check_include_files(netinet/in.h HAVE_NETINET_IN_H)
check_include_files(netinet/in_systm.h HAVE_NETINET_IN_SYSTM_H)
check_include_files(netdb.h HAVE_NETDB_H)
Expand Down

0 comments on commit eb61746

Please sign in to comment.