Skip to content

Commit

Permalink
GH-14869: [C++] Add Cflags.private defining <lib>_STATIC to <lib>.pc.…
Browse files Browse the repository at this point in the history
…in. (#14900)

* Closes: #14869

Authored-by: Luke Elliott <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
lukester1975 authored Dec 9, 2022
1 parent 918cf21 commit a7502c9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/arrow/arrow-testing.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Version: @ARROW_VERSION@
Requires: arrow
Libs: -L${libdir} -larrow_testing
Cflags: -I${gtest_includedir}
Cflags.private: -DARROW_TESTING_STATIC
1 change: 1 addition & 0 deletions cpp/src/arrow/arrow.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ Requires.private:@ARROW_PC_REQUIRES_PRIVATE@
Libs: -L${libdir} -larrow
Libs.private:@ARROW_PC_LIBS_PRIVATE@
Cflags: -I${includedir}
Cflags.private: -DARROW_STATIC
1 change: 1 addition & 0 deletions cpp/src/arrow/dataset/arrow-dataset.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Description: Apache Arrow Dataset provides an API to read and write semantic dat
Version: @ARROW_VERSION@
Requires: arrow parquet
Libs: -L${libdir} -larrow_dataset
Cflags.private: -DARROW_DS_STATIC
1 change: 1 addition & 0 deletions cpp/src/arrow/engine/arrow-substrait.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Description: Apache Arrow's Substrait Consumer.
Version: @ARROW_VERSION@
Requires: arrow
Libs: -L${libdir} -larrow_substrait
Cflags.private: -DARROW_ENGINE_STATIC
1 change: 1 addition & 0 deletions cpp/src/arrow/flight/arrow-flight.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Description: Apache Arrow's RPC system built on gRPC
Version: @ARROW_VERSION@
Requires: arrow
Libs: -L${libdir} -larrow_flight
Cflags.private: -DARROW_FLIGHT_STATIC
1 change: 1 addition & 0 deletions cpp/src/arrow/flight/sql/arrow-flight-sql.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Description: Apache Arrow Flight SQL extension
Version: @ARROW_VERSION@
Requires: arrow-flight
Libs: -L${libdir} -larrow_flight_sql
Cflags.private: -DARROW_FLIGHT_SQL_STATIC
1 change: 1 addition & 0 deletions cpp/src/gandiva/gandiva.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ Version: @GANDIVA_VERSION@
Requires: arrow
Libs: -L${libdir} -lgandiva
Cflags: -I${includedir}
Cflags.private: -DGANDIVA_STATIC
1 change: 1 addition & 0 deletions cpp/src/parquet/parquet.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ Version: @ARROW_VERSION@
Requires: arrow
Libs: -L${libdir} -lparquet
Cflags: -I${includedir}
Cflags.private: -DPARQUET_STATIC
1 change: 1 addition & 0 deletions python/pyarrow/src/arrow-python.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ Version: @ARROW_VERSION@
Requires: arrow
Libs: -L${libdir} -larrow_python
Cflags: -I${includedir} -I@PYTHON_INCLUDE_DIRS@
Cflags.private: -DARROW_PYTHON_STATIC

0 comments on commit a7502c9

Please sign in to comment.