Browse Source

* force PIC on x86_64

git-svn-id: trunk@1741 -
florian 20 years ago
parent
commit
d06bdbba13
1 changed files with 5 additions and 1 deletions
  1. 5 1
      tests/test/tlibrary1.pp

+ 5 - 1
tests/test/tlibrary1.pp

@@ -1,6 +1,10 @@
 { %NORUN }
 { %SKIPTARGET=macos }
 
+{$ifdef CPUX86_64}
+{$PIC+}
+{$endif CPUX86_64}
+
 { The .so of the library needs to be in the current dir when
   testing the loading at runtime }
 
@@ -26,7 +30,7 @@ const
 procedure Test;export;
 
  begin
-   writeln('Hoi');
+//   writeln('Hoi');
  end;
 
 exports