Skip to content

Commit

Permalink
pkgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
davecramer committed Aug 8, 2024
1 parent 345f1c3 commit c5db284
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,22 @@ jobs:
mkdir c:\OTHERBIN\openssl64
nmake install
- name: Create openssl64 pkgconfig File
shell: cmd
run: |
mkdir \c:\OTHERBIN\openssl64\lib\pkgconfig
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo prefix=${pcfiledir}/../..
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo exec_prefix=${prefix}
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo libdir=${prefix}/lib
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo includedir=${prefix}/include
>> c:\OTHERBIN\openssl64lib\pkgconfig\openssl.pc echo.
>> c:\OTHERBIN\openssl64lib\pkgconfig\openssl.pc echo Name: openssl
>> c:\OTHERBIN\openssl64lib\pkgconfig\openssl.pc echo Description: openssl encryption library
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo Version: ${{ env.OPENSSL_VERSION }}
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo Libs: -L${libdir} -lcrypto -lssl
>> c:\OTHERBIN\openssl64\lib\pkgconfig\openssl.pc echo Cflags: -I${includedir}
- name: setup msvc 86
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
Expand All @@ -173,7 +189,24 @@ jobs:
cd openssl-${{ env.OPENSSL_VERSION }}
mkdir c:\OTHERBIN\openssl32
nmake install
- name: Create openssl32 pkgconfig File
shell: cmd
run: |
mkdir \c:\OTHERBIN\openssl32\lib\pkgconfig
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo prefix=${pcfiledir}/../..
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo exec_prefix=${prefix}
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo libdir=${prefix}/lib
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo includedir=${prefix}/include
>> c:\OTHERBIN\openssl32lib\pkgconfig\openssl.pc echo.
>> c:\OTHERBIN\openssl32lib\pkgconfig\openssl.pc echo Name: openssl
>> c:\OTHERBIN\openssl32lib\pkgconfig\openssl.pc echo Description: openssl encryption library
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo Version: ${{ env.OPENSSL_VERSION }}
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo Libs: -L${libdir} -lcrypto -lssl
>> c:\OTHERBIN\openssl32\lib\pkgconfig\openssl.pc echo Cflags: -I${includedir}

- name: Download pkgconfiglite for Compile using msvc and meson
if: ${{steps.cachePkgConfigLiteZip.outputs.cache-hit != 'true' && steps.cachePostgres.outputs.cache-hit != 'true'}}
uses: suisei-cn/[email protected]
Expand Down

0 comments on commit c5db284

Please sign in to comment.