Skip to content

Commit

Permalink
Use correct version number in readline.pc files
Browse files Browse the repository at this point in the history
  • Loading branch information
rbberger committed Oct 27, 2020
1 parent 9e6a8d3 commit 8a92949
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/centos7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ENV OMPI_MCA_btl="tcp,self"
ENV OMPI_MCA_btl_base_warn_component_unused="0"

# create missing readline pkgconfig file
COPY readline.pc /usr/lib64/pkgconfig/readline.pc
COPY readline_6.2.pc /usr/lib64/pkgconfig/readline.pc

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
Expand Down
2 changes: 1 addition & 1 deletion docker/centos8.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ENV OMPI_MCA_btl="tcp,self"
ENV OMPI_MCA_btl_base_warn_component_unused="0"

# create missing readline pkgconfig file
COPY readline.pc /usr/lib64/pkgconfig/readline.pc
COPY readline_7.0.pc /usr/lib64/pkgconfig/readline.pc

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions docker/readline_7.0.pc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: Readline
Description: GNU Readline library for command line editing
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
Version: 7.0
Requires.private: ncurses
Libs: -L\${libdir} -lreadline
Cflags: -I\${includedir}/readline

0 comments on commit 8a92949

Please sign in to comment.