소스 검색

* Use correct name for windows. Fixes issue #40919

Michaël Van Canneyt 1 개월 전
부모
커밋
27772975cd
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 1
      packages/gstreamer/src/gst.pp

+ 8 - 1
packages/gstreamer/src/gst.pp

@@ -37,7 +37,14 @@ uses glib2;
 {$ENDIF FPC_DOTTEDUNITS}
 
 const
-  gstreamerlib = 'libgstreamer-1.0'; {Setup as you need}
+  { Setup as you need } 
+
+{$ifdef Linux}
+  gstreamerlib = 'libgstreamer-1.0'; 
+{$endif}
+{$ifdef Windows}
+  gstreamerlib = 'gstreamer-1.0-0.dll';
+{$endif}
 
 Const
   GST_PADDING	=	4;